3 ms·
Code Smell is an industry accepted term. I am unclear how any other interpretation of the modified title could be expected.
by hinkley 3y ago
Code Smell is an industry accepted term. I am unclear how any other interpretation of the modified title could be expected.
- macintux 3y agoAlternative interpretation based on the mangled title: here are things to look for in any code base which indicate the programmer was desperate.
- benchaney 3y agoWell, interpreting the title in that way is incorrect, so it seems like GP kind of has a point then.
- zztop44 3y agoAll code smells of desperation.
- veave 3y agoThat's how I interpreted the title.
- michaelcampbell 3y ago>> All code smells of desperation. > That's how I interpreted the title. That's my point - even that is ambiguous. Do you mean, "There is no code that doesn't smell of desperation" or "Of all the code that exists, herein lies the complete subset of it that smells of desperation" eg: (All code) smells of desperation vs. All (code smells) of desperation.
- Narishma 3y agoYou just proved OP's point since you misunderstood what the original title was.
- Karellen 3y agothe "smells" in the industry term "code smells" can function as both a verb and a noun. As a noun, it can describe specific ways that hypothetical code might not follow best practices. For instance, code fragments that have been copy-pasted many times rather than refactored into a function, is a code smell. The use of many global variables is a code smell. Together, these are "code smells". As a verb, it describes specific code which exhibits these sorts of attributes. A particular source file can smell. The code... smells. The phrase can also be used adjectively, to say that code is smelly. The title "Code smells of desperation" could imply the noun form, in which an article discusses various code smells which could be a general indication that a hypothetical code base might be in desperate shape. Or that the team maintaining it is. It is an article about smells, in code. Whereas, "this code smells of desperation" uses the verb form to indicate that the article is about a particular code base which appears to be in desperate shape, because of the smells it specifically gives off. It is an article about code, which smells.