News for hackers. Stuff that matters.
Re:Judicious Use of Shitty Code by Gigablah on Sunday July 05, 2015 @08:52PM (#9835960)
Here's another dirty little secret: the main reason writing "clean" code takes significantly more time than writing "shitty" code is because you have to unlearn all the crappy practices you've picked up. And please don't conflate clean code with overengineering.
Re:Judicious Use of Shitty Code by greydius on Sunday July 05, 2015 @08:15PM (#9835820)
This is a good example of why many people don't consider "software engineering" a real discipline.
Re:Judicious Use of Shitty Code by bibinou on Monday July 06, 2015 @01:16AM (#9836945)
to be fair, he's actually a trained nurse.
Re:Judicious Use of Shitty Code by modarts on Sunday July 05, 2015 @02:01PM (#9834295)
Seems like a lot of justification for being sloppy
Re:Judicious Use of Shitty Code by mnort9 on Sunday July 05, 2015 @02:29PM (#9834416)
Yea I agree. It's not that much more effort to clean things up and it will save you time later.

Not sure why the author thinks writing clean code is some form of premature optimization.

Re:Judicious Use of Shitty Code by wallstop on Sunday July 05, 2015 @06:39PM (#9835372)
Agreed, although other arguments could be made.

There's the key phrase

> I haven’t updated that app in years

Arguably, the most important place for clean code is everywhere, but the largest use-case for it is in projects that are expected to live, or in places that the code is seen / used by people who are not the original developer(s).

If your goal is to "ship it and forget it", great. Do whatever you need. Outsource it to some other country if it's cheaper, who cares? You're not going to be maintaining it anyway. Does this make something good? No. Is it excusable? Maybe.