News for hackers. Stuff that matters.
Re:Absolute truths I unlearned as junior developer by patagonia on Friday June 07, 2019 @10:43AM (#20125026)
This bothers me. As code continues to eat the world, this is akin to saying “building codes don’t matter”. That is dangerous. And it isn’t professional.
Re:Absolute truths I unlearned as junior developer by onion2k on Friday June 07, 2019 @10:46AM (#20125062)
Experienced developers know when to spend time making sure code is actually good and when a terrible crufty hack is fine. If you think "All code must be perfect" then you're not a pro yet.
Re:Absolute truths I unlearned as junior developer by criley2 on Friday June 07, 2019 @11:01AM (#20125235)
>If you think "All code must be perfect" then you're not a pro yet

Or they're a pro in a very different field than you.

When I worked in web development, I was gobsmacked at what professionals considered "good enough to ship". Now that I work in Medical EHR, the standards for 'good enough to ship' when lives could be on the line is very, very, very different.

I imagine a NASA engineer creating famously low-defect code or perhaps an engineer creating control systems for a nuclear power plant would similarly look at our medical code and think we too ship far too many hacks and defects.

Re:Absolute truths I unlearned as junior developer by onion2k on Friday June 07, 2019 @11:41AM (#20125676)
People in fields where they write code that has to be proven can still know when it's appropriate to write bad hacky code. If they believe "I write proven code for my EHR system therefore all code must be like that." I would argue they're not pros.

Being a professional is knowing how to do your job well. Applying a single heuristic to every problem isn't that.

Re:Absolute truths I unlearned as junior developer by spambucket81 on Friday June 07, 2019 @09:06PM (#20129940)
> If you think "All code must be perfect" then you're not a pro yet.

> Applying a single heuristic to every problem isn't that.

How ironic :)

Re:Absolute truths I unlearned as junior developer by chrisfinazzo on Friday June 07, 2019 @11:29AM (#20125530)
I'm surprised this hasn't come up yet, but the following should be required reading. I don't want to invoke "we follow orders or people die" (or blow up), but...

https://www.fastcompany.com/28121/they-write-right-stuff

https://en.wikipedia.org/wiki/Therac-25

Re:Absolute truths I unlearned as junior developer by chimpburger on Friday June 07, 2019 @06:23PM (#20129172)
That's the point. The context of the code matters. 99% of code is not critical to life. Applying NASA level of rigor to every line of code ever written is an indication of mental disorder (autistic obsession)
Re:Absolute truths I unlearned as junior developer by patagonia on Friday June 07, 2019 @11:10AM (#20125320)
I never, ever, said “All code must be beautiful. I never even implied it. Unless there is some general agreement that I am unaware of among architects and builders that building codes exist to make building plans “beautiful”.

And about that implied ad hominem. It doesn’t matter if I’m a pro.

Building codes allow one to say whether plans conform or do not conform to code. That way you don’t have to be a “pro” to determine whether the plan is up to code. You compare the plan to the code. You didn’t write the code. You don’t need to think the code describes beautiful plans. You just compare.

Re:Absolute truths I unlearned as junior developer by mixmastamyk on Friday June 07, 2019 @11:22AM (#20125463)
And often business owners won't allow you to make that determination alone.
Re:Absolute truths I unlearned as junior developer by levosmetalo on Friday June 07, 2019 @11:36AM (#20125609)
Like in any business area. But in the end, it's their business and their responsibility.
Re:Absolute truths I unlearned as junior developer by afiori on Friday June 07, 2019 @11:04AM (#20125253)
"code doesn't matter" is more like "code beauty doesn't matter", in the same way that beautiful foundations for a building do not matter (or are incidental) to its stability.