Clean Code: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==References== {| |valign="top"| * [https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882 Clean Code: A Handbook of Agile Software Craftsmanship] |v...") |
No edit summary |
||
Line 1: | Line 1: | ||
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== | ==References== | ||
{| | {| |
Revision as of 03:16, 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
| ||