4 ms·
That last one ("hubris") I'm going to call out. Maybe the author means another word, for what he describes, but the actual "hubris" I'm seeing among my colleagu
by lr4444lr 3y ago
That last one ("hubris") I'm going to call out. Maybe the author means another word, for what he describes, but the actual "hubris" I'm seeing among my colleagues is the belief that lots of people out there don't know how to write code, but that their own $%^& doesn't stink.
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.
- xarope 3y agoI interpreted this "hubris" to mean that I believe I can make a difference, rather than feel that I can't contribute. You can understand why I, personally, would think this is a virtue.
- RangerScience 3y ago“audacity” might be a better word for you for that :) (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)
- sverhagen 3y agoWrite code "that other people won't want to say bad things about" sounds like using the hubris (arrogance?) to throw up walls to be left alone. Maybe in some organization you might be the star player that can do this to the benefit of the greater good, but in most places collaboration of some sort is paramount, and the hubris thing doesn't sound good. Wouldn't want to hire this archetype.
- hirvi74 3y agoI just look at popular Github projects and ask myself why doesn't my code look that nice? 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.
- tacitusarc 3y agoI recommend this talk on that subject: https://youtu.be/CmIGPGPdxTI?si=vOxiooCemwR7CygI https://youtu.be/CmIGPGPdxTI?si=vOxiooCemwR7CygI I found it incredibly interesting.
- Izkata 3y agoYeah, "pride" fits better with his description.
- dt3ft 3y agoI especially love it when these people turn code which can be debugged (breakpoints can be set and hit) into one-liners for no reason which you have to rewrite in order to even set breakpoints. Well done, I hope you’re proud.
- ruined 3y agoyou can't debug within a line?
- db48x 3y agoYea, if you cannot set a breakpoint on an arbitrary expression, then your tools are bad and you should feel bad. On the other hand the dev tools in the average web browser lacked that capability until relatively recently, so it’s not an uncommon experience.
- dt3ft 3y agoGood luck debugging linq one-liners in VS.
- Idiot211 3y agoMy interpretation of hubris in this context is actually "pride" and it's what I've chosen to substitute the word for. 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.