Hacker News new | past | comments | ask | show | jobs | submit login

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."




Code 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.


A 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: