Clean Code: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|valign="top"| | |valign="top"| | ||
* [https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 Clean Code: A Handbook of Agile Software Craftsmanship] | * [https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 Clean Code: A Handbook of Agile Software Craftsmanship] | ||
* [https://martinfowler.com/bliki/CodeSmell.html Code Smell: Martin Fowler] | |||
* [https://blog.codinghorror.com/code-smells/ Code Smell: Jeff Atwood] | |||
* [https://refactoring.guru/refactoring/smells Code Smell: Refactoring] | |||
* [[wikipedia:Code_smell|Code Smell: Wiki]] | |||
|valign="top"| | |valign="top"| |
Latest revision as of 03:13, 9 March 2022
FUNCTIONS SHOULD DO ONE THING. THEY SHOULD DO IT WELL. THEY SHOULD DO IT ONLY.
Functions should either do something or answer something, but not both.
The proper use of comments is to compensate for our failure to express ourself in code.
References
| ||