Clean Code: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
* [https://martinfowler.com/bliki/CodeSmell.html Code Smell: Martin Fowler]
* [https://martinfowler.com/bliki/CodeSmell.html Code Smell: Martin Fowler]
* [https://blog.codinghorror.com/code-smells/ Code Smell: Jeff Atwood]
* [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