Re:Ask HN: What did the really successful programmers do dif...
by 1123581321 on Monday October 08, 2012 @12:19PM
(#4627533)
When you advise against naming a variable a subset of another variable, are you talking about confusing names, or practices like breaking off a chunk of array to process instead of finding a smarter way to step through it like mapping or in-place logic?
[ Parent
| on HN ]
Re:Ask HN: What did the really successful programmers do dif...
by edw519 on Monday October 08, 2012 @01:06PM
(#4627768)
No, just variable naming.
As we speak, I'm maintaining some old code with the following variables names:
- CommandRec
- Command
- Comm
- Com
along with the fact that some of these are reused for different purposes and all are global.I'm having a hell of a time finding all instances to rename them properly.
I understand that some programmer interfaces are better than others hanlding this, but that belies my main point:
"Just name shit what it really is."