Clean Code: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
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]


|valign="top"|
|valign="top"|

Revision as of 07:22, 8 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