Re:Is naming things really that hard?
by BurningFrog on Saturday March 04, 2017 @03:11PM
(#13792695)
I do the ugly names too. One of two things usually happen:
- As I work with the code, the name becomes obvious.
- The variable/function turns out to disappear during the work.
One more case of how it can be better to decide something later, when you know more.
Naming seem to be the last step of refactoring. Refactoring is the process of manipulating / identifying the semantics of an application, names are human-readable tags that ease the mental task of understanding semantics.