4 ms·
It seems like you haven't been exposed to spaghetti code with a million comments vs well designed modular code with few but useful comments. People don't just d
by jgtrosh 7y ago
It seems like you haven't been exposed to spaghetti code with a million comments vs well designed modular code with few but useful comments. People don't just dream up that difference, it does often change other programmers' way of thinking about the code and helps convey intent far better than exhaustive comments.
It is true that people often take these ideals too blindly and their beautiful architecture brings little in comparison with simple obvious code. (I'm often a culprit there.)
- danmaz74 7y agoThe problem comes when people go from "good code needs few comments" to "never add comments to your code".
- barrkel 7y agoYou're mixing up two orthogonal things. Your dichotomy is false, a straw man. Code overspecifies. As long as there are programmers, the clearest code in the world should still have comments indicating intent. And comments won't save unclear code.