3 ms·
Even better is naming things as intuitively as possible, and to use explanatory comments where they would be helpful. Not trying to pick on you, but every time
by wikwocket 14y ago
Even better is naming things as intuitively as possible, and to use explanatory comments where they would be helpful.
Not trying to pick on you, but every time I see someone implying that "naming things better" is a panacea, I want to throw it out there that sometimes, nothing beats a good comment to explain (in natural language) what's going on here.
- nathan_long 14y agoWe're on the same page. Generally, I find that naming things better helps explain what the program is doing, and comments help explain why. And comments will stand out best if they are only used when needed to answer the question "why didn't they just..." :)