2019-03-29 09:23:09 +00:00
|
|
|
---
|
|
|
|
layout: page
|
|
|
|
theme: dark
|
|
|
|
title: Code Of Honor
|
|
|
|
permalink: /code-of-honor/
|
|
|
|
---
|
|
|
|
|
2019-07-05 08:25:06 +01:00
|
|
|
I always try to live by my code of honor. A man is nothing without his honor. "A sin is to betray your beliefs".
|
2019-03-29 09:23:09 +00:00
|
|
|
|
|
|
|
## Honorable life
|
|
|
|
* Don't betray your code of honor.
|
2019-04-27 00:48:04 +01:00
|
|
|
* Defend your Bushido way.
|
2019-03-29 09:23:09 +00:00
|
|
|
* Live life as a Honorable Man.
|
2019-07-05 08:25:06 +01:00
|
|
|
* Don't lie.
|
|
|
|
* Honesty takes courage.
|
2019-03-29 09:23:09 +00:00
|
|
|
* Don't talk without a knowledge to support it.
|
2019-04-27 00:48:04 +01:00
|
|
|
* "Don't argue with the crazy guy".
|
2019-03-29 09:23:09 +00:00
|
|
|
* Always follow your sense of Justice
|
|
|
|
* Feel the pain of others.
|
|
|
|
* Always put your self in people's shoe before making any decision.
|
|
|
|
* A simple smile goes a long way.
|
|
|
|
* There's no honor in winning by cheating.
|
2019-04-27 00:48:04 +01:00
|
|
|
* "If you fall down 7 times make sure to get up 8 times."
|
2019-03-29 09:23:09 +00:00
|
|
|
* Protect your promises.
|
|
|
|
* "For a samurai everywhere is Japan."
|
2019-07-05 08:25:06 +01:00
|
|
|
* Holding back is disrespectful to your opponent.
|
|
|
|
* Live life in your way.
|
2019-07-26 16:19:19 +01:00
|
|
|
* "Respect is earned, not given", So earn it.
|
|
|
|
* "A man is much more than the job he holds and clothes he wears."
|
2019-03-29 09:23:09 +00:00
|
|
|
|
|
|
|
## Programming
|
|
|
|
* Simplicity over Complexity
|
|
|
|
* Simple first, then Easy
|
|
|
|
* Abstraction, Abstraction, Abstraction
|
|
|
|
* Put your conventions layer on top of a well written abstraction
|
|
|
|
* Always choose a name for your variables which implies the variable content or usage.
|
|
|
|
* Never ever use variable names such as x, a, b, etc.
|
|
|
|
* Bugs before new features
|
|
|
|
* Docs before new features
|
|
|
|
|
2019-12-04 15:02:18 +00:00
|
|
|
### Library design
|
|
|
|
* Major releases can contain backward incompatible changes.
|
|
|
|
* It's better to use a different code name instead of a major version number change
|
|
|
|
to indicate that there going to be backward incompatible changes.
|
|
|
|
* Minor releases shouldn't break the dependency versions. E.g: X(0.6.0) depends on Python(3.5.x),
|
|
|
|
X(0.7.0) should depends on the same version python
|
2019-03-29 09:23:09 +00:00
|
|
|
### New Feature Checklist
|
|
|
|
* Is it easy to extend the feature ?
|
|
|
|
* Is it scalable ?
|
2019-04-27 00:48:04 +01:00
|
|
|
* Is it easy to maintain ?
|
2019-03-29 09:23:09 +00:00
|
|
|
* Is it well documented ?
|
|
|
|
* Does it have the best possible performance ?
|
|
|
|
* What about tests ?
|
|
|
|
* Is it following the correct coding style ?
|
|
|
|
|
2019-07-26 16:19:19 +01:00
|
|
|
### Resiliency Checklist
|
|
|
|
|
|
|
|
* Things that might fail:
|
|
|
|
* Dependant systems
|
|
|
|
* Network
|
|
|
|
* External storage
|
|
|
|
* Database
|
|
|
|
* "The Cloud"
|
|
|
|
|
|
|
|
## Trading Checklist
|
|
|
|
* TBD
|
|
|
|
|
2019-03-29 09:23:09 +00:00
|
|
|
## Contribute to the Code Of Honor
|
|
|
|
If you found these codes useful and like to share your values with me, you're welcome to create a PR
|
|
|
|
on [the repository](https://gitlab.com/lxsameer/lxhome).
|