by lr4444lr · 2y ago · 0 comments
It's the utter subjectiveness of "best practices" that aren't tied to actual issues of performance, security, or flexibility, or worse - blowing one or more of these attributes of good code way out of proportion to the actual importance of the code.
And "readability"? Don't get me started ... there's hardly a linter rule that I haven't seen turned into a caricature of what it was intended to do.
What devs do is part art and part science, and there's hardly consensus on which part is which.
Having pride means that I want to write code that others view as good code and won't look at in the future as a mad hatter's ramblings.
You can understand why I, personally, would think this is a virtue.
(To be clear: I mean this as a good thing. Audacity… seems pretty important, and very nice to have, at the right times and places)
I completely agree with your take though. There is so much "distraction" in what are best practices, readability, etc.. It's all so subjective. Best practice for what? Readability for who?
I feel like software engineering : engineering :: psychiatry : medicine.
https://youtu.be/CmIGPGPdxTI?si=vOxiooCemwR7CygI
I found it incredibly interesting.