News for hackers. Stuff that matters.
Re:"I love shitty code that just gets the job done. This job... by j_baker on Tuesday June 28, 2011 @01:13AM (#2704176)
This old debate again? I suppose it's been a while since I've argued it, so I might as well jump in. :-)

It's incredibly naive to say that crappy code that gets the job done is generally good. Ok, sure. Sometimes you just have to roll up your sleeves and write an ugly hack to get the job done. But if you keep it up, you spend more time maintaining the ugly hacks than you do coding new stuff.

So here's my advice:

1. Stop. Breathe.

2. Think about what you're doing before you do it.

3. Do it.

This has worked wonders for me. It's incredible how easy it is to not write crappy code, and it pays off. And for the record, I'm one of the biggest instant gratification junkies I know. I'm not saying one needs to write good code because I don't want to get things done.

There are no comments on this comment yet.