3 ms·
There are issues on both sides of that divide. I can't stand the tidy programmers who try and clean up ugly code that handles lot's of real world edge cases th
by Retric 11y ago
There are issues on both sides of that divide. I can't stand the tidy programmers who try and clean up ugly code that handles lot's of real world edge cases they don't understand.
Sometimes you can find loops in the source code repository where multiple people make the same kinds of changes to the same function before reverting back to the original state when some bug shows up again even when there is a comment about that edge case. It's one of the few times I feel leaving commented out code is reasonable, no don't do this it's not going to work.
The real world is messy, at some point you have to represent that twisty logic or it's not going to work.
- dunkelheit 11y agoI did not want to imply that tidy people are somehow "better". Of course they can screw up too. In addition to your example, wasting time on inconsequential things is a major sin. My point is that in my experience dependability often comes loaded with these traits and I doubt that "love of thy coworkers" is the sole source of them.
- superuser2 11y agoIf removing edge case handling doesn't make some tests fail, then poor test coverage is the root problem. Refactoring a code base without tests is always touching the third rail, neat or tidy, no?
- Retric 11y agoYou say that as if people don't remove tests while 'refactoring'. Better coverage = people ignore tests as they always fail. Worse coverage and they ignore tests because the tests must be outdated.