News for hackers. Stuff that matters.
Re:When will programmers grow up? (2014) by skytreader on Thursday July 15, 2021 @05:18PM (#27850259)
This. Clean and correct, but correct above all else.

A correct solution, even when not clean, isn't going to earn money. No one (except perhaps textbook publishers) will pay for a solution that is clean alone.

You can clean up a correct solution at a later date, all the while maintaining correctness; a clean (but incorrect) solution might need to be completely redesigned to make it correct.

I've come to accept that the best engineers are those who ship (you don't get to 10x productivity if you don't ever ship) and that often means being able to call the correct compromises to make. Heck, I'd even say engineering in general is finding a working compromise given a set of constraints.

Re:When will programmers grow up? (2014) by procarch2019 on Thursday July 15, 2021 @07:06PM (#27851146)
> A correct solution, even when not clean, isn't going to earn money

Was that meant to be ‘is’?

Re:When will programmers grow up? (2014) by heavenlyblue on Thursday July 15, 2021 @05:36PM (#27850427)
> often means being able to call the correct compromises to make

The fact that you redefined “clean solution” as “correct compromises” doesn’t say much unfortunately.

Re:When will programmers grow up? (2014) by procarch2019 on Thursday July 15, 2021 @07:04PM (#27851137)
I’m not sure I follow how you came to that conclusion. I think their point is, paraphrased, spaghetti code that meets the requirements, schedule and budget is better than pretty code that functions, but does not meet one or more of the aforementioned. That’s not to say that only spaghetti code can make a good project, but to illustrate the point.

Sure, sometimes everything works out where you can refine something to the point where it’s a golden (or near perfect) solution, but any solution that meets business requirement x is better than one that does not at all.

I’m not sure if it really comes down to this, but my standards for internal tools are much higher than things developed on the customer facing side. I think I mostly attribute that to the fact that we know how to successfully develop our user/business requirements versus our customers who do not. Hell, I have customers who have asked us to write their requirements. That’s a huge red flag for an unsuccessful solution.