3 ms·
It's very click-baity. "Clean code" primarily means to me descriptive function names and variables, with functions that do one thing, and are not overly long.
by heurisko 5y ago
It's very click-baity.
"Clean code" primarily means to me descriptive function names and variables, with functions that do one thing, and are not overly long.
It's stuff like not using "temp" as a variable name for "temperature" as it unnecessarily adds to the cognitive burden of understanding the code ("Does this mean temporary or temperature?")
This what I took away from the Uncle Bob book.
I expect some will latch onto the title, however, to keep with traditions, like that somehow variable names are supposed to be abbreviated.