Hacker News new | ask | show | jobs
by bryanrasmussen 1672 days ago
>This is a long way from "enums are a code smell,"

originally the meaning of code smell was not that code that had the smell was bad, but there was a chance it was and should be examined. For this reason of course it is useful to get rid of code smells so that people don't feel the need to investigate hey is this smelly code actually bad code.

But all that said not sure if an enum is a code smell.

on edit: this at any rate was the rationale behind the phrase code smell I was first introduced to.