3 ms·
> I am sick and tired of “X is a code smell” articles. Everything in software development depends on context. Your comment sounds like you didn't even read the
by arinlen 4y ago
> I am sick and tired of “X is a code smell” articles. Everything in software development depends on context.
Your comment sounds like you didn't even read the submission. Here's, quite literally, the second paragraph:
> "In my opinion these are code smells. Smells don’t necessarily indicate actual issues, just patterns that are likely to be used incorrectly and thus warrants extra care."
You see, the author points out quite unambiguously that context is key.
- ultrarunner 4y agoThen to the extent that “code smell” has become heard as “code stink” it is not useful as a descriptor. Then again, I suppose “maybe be careful with that pattern” isn’t quite the click-inducing thought leadership demanded in our present day.
- arinlen 4y ago> Then to the extent that “code smell” has become heard as “code stink” it is not useful as a descriptor. It's a very appropriate descriptor. Think about it for a second. A smell all by itself is not a sign of a problem. > Then again, I suppose “maybe be careful with that pattern” isn’t quite the click-inducing thought leadership demanded in our present day. Your personal assertion does not make any sense. "Code smell" is a widely-established, age-old concept. The concept of a "code smell" even precedes the concept of a "click".