r/coding • • May 15 '12

Please Don't Learn to Code

http://www.codinghorror.com/blog/2012/05/please-dont-learn-to-code.html
33 Upvotes

120 comments sorted by

View all comments

100

u/[deleted] May 15 '12

In fact, I think you can tell a competent software developer from an incompetent one with a single interview question:

What's the worst code you've seen recently? If their answer isn't immediately and without any hesitation these two words:

My own.

Eh.... never say that in a programming interview. It will not go as Atwood plans because you're essentially asking someone to hire you after confessing that sometimes you write shitty code. You're not there to sell yourself as a flaky developer who messes up from time to time. You're there to convince someone you're an expert in your field who possesses skills the employer desperately needs now.

It's been a long ass time since Atwood interviewed for a job. The probability you'll encounter an Atwood interviewer with his Zen-like attitude is exceedingly improbable. Instead, you'll be facing the hard-ass, critical interviewer who's working very hard to root out every flaw you possess so he can reject you and move on to the next candidate. The job interview is a hostile environment. It's no place to be proudly displaying your dirty laundry with an abashed look upon your face.

Atwood lives in a lovely ivory tower where every great programmer confesses their faults, promptly admits ignorance, and possesses the humility of a saint. Those programmers do exist, so I'll call them the John Carmack programmers. There is also another kind of great programmer. The arrogant one. He's arrogant because he knows he's good and he's achieved success numerous times. I'll call him the Linus Torvald's programmer. Neither show up at an interview to put their faults in front of their skills.

The job interview is all about marketing. You're there to convince someone you aren't going to fuck up and cause the company to lose money. If someone directly asks you if you've ever written bad code, yes, you should confess, but minimize the severity of it. Turn it around by focusing on what you did to mitigate the damage and rectify the problems, but don't give the interviewer the power to beat you up with your own imperfections. If they throw out an honesty question, fine answer it truthfully with a token answer, but don't willfully (and eagerly) incriminate yourself by confessing you write bad code.

9

u/thebigbradwolf May 15 '12

Though I agree, everyone one day will be working on code wondering 'who wrote this crap' and check the logs and see it was you. If that never happens, you aren't improving.

5

u/Mclarenf1905 May 15 '12

Or you have a fantastic memory and therefore never need to question if the code was written by you.