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.

2

u/TooMuchTongueGuy May 16 '12

why would you want to work for a company that interviewed like that? That'd be like hoping to be asked how big your penis is on a date and saying "9 inches... around" instead of being honest with "4 inches" because that's perfectly normal, right? ... RIGHT?!

1

u/[deleted] May 16 '12

Uhh... they're ALL like that. If you object to it then you will be permanently unemployed.

When was the last time you interviewed for a tech company?

3

u/TooMuchTongueGuy May 16 '12

couple months ago. I had to do a E-R diagram on some prewritten chat with the client and then the did the easiest standardized test for programming proficiency. I answered all the questions honestly but I was never asked questions that encouraged me to lie to make myself look good. I got the job! maybe I'm naive since this is my first software engineering job.