-
-
Save thiagodelgado111/77dfeb24af389c1396e6 to your computer and use it in GitHub Desktop.
Coding Mantras
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Don't Repeat Yourself - DRY | |
- Don't repeat code | |
- Use reusability | |
* Keep It Simple Stupid - KISS | |
- Don't overcomplicate for it's own sake | |
* Don't make me think. | |
* Program to an interface. | |
* Composisition over inheritance. | |
* Do heavy operations in batch. | |
* Write Code for the Maintainer (No, you'll not fix that later) | |
* Yes, somebody will see that later and maybe they will need to fix that, so make it legible. | |
* Comments should help to understand feature, not how your code works. | |
* Filter & escape. | |
* Don't leave broken windows. | |
* You ain't gonna need it yet | |
* Ask yourself what is the reason it all exists | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment