3 ms·
The entire concept of a "code smell" is something which is often but not always bad, so I'm not sure why rarely seeing things as 100% good or bad would lead to
by plorkyeran 3y ago
The entire concept of a "code smell" is something which is often but not always bad, so I'm not sure why rarely seeing things as 100% good or bad would lead to you avoiding the phrase.
- jeppester 3y agoI think code smell has grown to have two meanings. One is a hint that something might be wrong, the other is just bad code. Regardless, I've never seen it refer to code that didn't turn out to be bad in the author's opinion.
- xg15 3y agoI mean, "often, but not always bad" was what "code smell" was originally supposed to mean: Patterns which may have a valid reason, but which in the common case show some bad design or lack of understanding. But that's difficult to distinguish and act upon, so the meaning seems to have morphed into generic "bad thing you should never use".