3 ms·
I've never heard/read/thought of "code smell" as anything BUT referring to maintainability issues. When you're debugging a concrete issue and have a hunch what
by mike_hock 4y ago
I've never heard/read/thought of "code smell" as anything BUT referring to maintainability issues.
When you're debugging a concrete issue and have a hunch what might be the cause, that's not a "code smell."
- noduerme 4y agoCode can smell and be perfectly maintainable. Sometimes it's even more maintainable, because it's so unnecessarily replicated that the patterns become obvious. You could even argue that the best precision code is the hardest to grok and maintain in the long run.
- mike_hock 4y agoA code smell is a heuristic to detect maintainability issues, so while a heuristic can fail, if it fails consistently, you're using a bad heuristic. Sounds like you're basing your heuristic on dogma rather than experience.