Re:Is naming things really that hard?
by skybrian on Saturday March 04, 2017 @02:02PM
(#13792318)
Descriptive names are great when a symbol is used in many scattered places. Context is okay when the definition is right in front of you. When a function is short enough, context for a parameter should mean reading the function's documentation written immediately above it. Or if the scope of a local variable is three lines, its initializer often explains what it is, and it's right there.
[ Parent
| on HN ]
There are no comments on this comment yet.