r/programming • u/SilasX • May 09 '15
"Real programmers can do these problems easily"; author posts invalid solution to #4
https://blog.svpino.com/2015/05/08/solution-to-problem-4
3.1k
Upvotes
r/programming • u/SilasX • May 09 '15
2
u/Bwob May 09 '15
Well, how would you do it better?
Here's the problem from the hiring side: Hiring the wrong person (i. e. someone who can't do the job) usually ends up costing you about 6-12 months worth of their salary, even if you fire them after a month. This represents both the time you wasted trying to train them up, the time other people wasted having to do the work you expected them to do and fix their errors, and the time you spent sifting through applications. (This number is surprisingly constant - the more you're paying someone, generally, the more trouble they tend to cause if they can't do the work.)
So when hiring a programmer, you need some way to make sure they are actually a programmer. We don't have standardized accreditation. People frequently lie (or even just exaggerate) their resumes. So you need some way to make sure they're actually capable of programming.
So you ask them some basic programming questions to get them to demonstrate the skills that you're hiring them for. Because programming isn't just the art of writing out a list of instructions with weird capitalization and punctuation - it's also an art of seeing a problem you haven't seen before, and being able to come up with a sensible way of attacking it, and describing that method in small, basic steps.
Random brain-teasers are stupid, and I'm not defending those. But asking someone to come design and implement an algorithm to solve some minor problem (say, reversing a string or something) and then be able to defend their decisions when I ask about them, is still the best way I know of to get a handle on their actual programming ability. If you know a better way though, I'd love to hear it!