4 ms·
> Calling something a "best practice" is basically an appeal to authority. If presented on its own, but then, any conclusion presented on its own without suppo
by dragonwriter 5y ago
> Calling something a "best practice" is basically an appeal to authority.
If presented on its own, but then, any conclusion presented on its own without supporting context and analysis is the same.
> But really, "best" and "right" are highly situational
A description of a best practice that doesn't provide a sufficiently precise description of the situation to which it applies as a best practice is generally inappropriate, unless it is the conclusion of an analysis of applicable best practices to a certain situation, in which case the scope is specified in framing the analysis.
It is true that lots of things described as best practices for particular situations with supporting rationale and up getting detached from their logic and context and becoming cargo cult best practices.
- w0mbat 5y agoEven worse are people that talk of "code smells", applying their personal opinion of style in a judgmental and often unjustifed way.
- dragonwriter 5y agoCode smells aren’t conceptually about style but indicators of potential (possibly latent) bugs. A code smell is different than a style problem (though they overlap), its a thing that warrants attention because of risk of hiding errors.
- mbrodersen 5y agoSmart experienced software developers disagree on “best practices” all the time. What is “obviously” the best practice to you is “obviously” not the best practice for somebody else. Now what?