34 points · by tmfi · 5y ago · 44 comments
There are (edit:almost) zero programmers who can’t write a while loop. There are just 199/200 people who are stressed out by the bizzaro interview process that was designed by aliens to promote leetcode. There are however millions of programmers who can’t write maintainable or readable code
That spun me out and I crashed even harder. In his eyes I'm one of those 199 people who "can't even code".
Fuck 'em, if coding is knowing how to implement weird palindrome-related algorithms in a completely alien browser-based IDE (if you can call it that) over a call with a several second delay in your kitchen at 9pm local-time after a hard days work then maybe I can't code.
At my current place (and before as well) we give the candidates a 'take home test'. The problem is a bit larger than FizzBuzz, so that we can see how they would structure things, if they can write clean code, write tests etc. The 'take home' nature solves quite a few of the problems you mentioned, both for the candidate and us if you ask me. And even there you have to be careful that things don't get out of hand. Nobody good who currently has a job is going to spend any time on a take home test that the employer expects them to spend hours upon hours on over a short period of time.
Of course there are always managers that fear it's too easy to cheat but if you ask me, that's either never happened to us or if so, it was very clear after talking to the candidate in person about their code, that we wouldn't hire them anyway, so at best they cheated us out of some interview time.
I had a very similar experience. Moreover, on the phone call there seemed to be some kind of soft ticking sound in the background, like a clock. It was very distracting. I wonder if the interviewer was actually timing me.
Smaller companies should absolutely break away from this way of interviewing to find developers that can do great work for them but the pressure (or envy?) to conform is too strong I guess.
The irony is that the founders and initial employees of these companies were never interviewed in this way. They were mostly just school friends. So it's highly dubious whether these specific hiring practices were even crucial to the success of those companies. People are emulating the wrong things and just cargo culting.
http://weblog.raganwald.com/2007/01/dont-overthink-fizzbuzz....
I will note the person making this observation is apparently incapable of securing their website with SSL!
It’s the same as when you get that bag of mixed nuts and pick out a bunch, put the almonds back in and eat only the pistachios. About ten minutes in, your search for pistachios becomes ever so hard. You take a handful of almonds out, put them back in and repeat, barely seeing a pistachio.
https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...
But in a lot of cases it's overkill and makes everything harder. Following a rule to always do it is simple but using your judgement is better. The best code minimizes side effects and reduces stubs and fakes.
One of the big things I’ve noticed, is people don’t know what they haven’t used. Something pretty common I’ve noticed in some candidates is that when they’re asked how they would X they start going into some over engineered proprietary framework or library that they’ve used at their past company rather the more fundamental answer we’re looking for. They never really get the chance to learn things because their first job out of school has them working on problems that require a very limited skill sort or ability. I can’t speak to how 2007 was, but I wonder how many programmers couldn’t figure out fizzbuzz because they simply never had to use modulo division. I’ve never had to use the modulo operator in my time building CRUD apps and frankly I had never heard of it until I had heard of fizzbuzz many years ago. Keep in mind that many people come from non traditional background and do not have any sort of technical education besides what they learned themselves and that for a number of business that’s been enough to hire them to maintain whatever business applications they’re working on.
I myself am not a particularly good developer either. Though I could pass a fizzbuzz test there’s no way I’m making it through even some of the easier leetcode problems. And so, at this point I’m looking for a way out of the industry. But when you look at how much money even no name companies will pay for a job that is not gatekept by expensive credentials and can be learned on your own time, you’d be dumb not attempt run towards it. Note I’m not arguing for a credentialized gate keeping, I personally can’t stand credentialism, but there are a wide variety of people rushing into the field who can make decent money even if they’re not particularly good as long as they’re providing whatever the employer things is business value.
Or better, bury the article in an unmarked grave and never see it again. Few people have done more harm to hiring in the industry than Atwood and Spolsky.
Programmers can program, but they usually aren't stage performers. Using auditions to evaluate non-performers is doomed to failure, predictably.
Take homes might work if your company isn't very large but that doesn't scale.
Asking domain specific questions can easily have as many false negatives as Ds/A questions - Do you really need to have a precise, perfect definition of what a closure is in JavaScript on the tip of your tongue to be an effective front-end developer in 2021?
Domain specific questions are worse than algorithmic questions IMO because no matter how well you know a subject, there's always going to be pockets you might have missed.
What if you took a more holistic approach and actually went through a person's projects/Github? That's more time consuming and harder to be consistently objective with. Plus, then you get the crowd of people who say you shouldn't have to have side projects to be a programmer on your case.
There's going to be some level of anxiety inherent in interviewing, period. I do agree that making people write code on whiteboards is not good though. They should at least be given a somewhat similar environment to what they use day to day, like being able to type.
I say this as someone who has absolutely bombed in person interviews before on the same level (probably worse) as the guy getting tripped up by basic Python elsewhere in this thread.
So once these people graduate, OF COURSE they're going to stumble over for loops and if statements; the only think they know is how to follow along in vs code while someone builds a react app over zoom.
I don't feel like i really went from programming stuff to knowing how to program until after i'd finished a bunch of smaller programs in a few different languages. Like a lot. Years worth.
There came a point though where, even if i was working with an unfamiliar language, once the syntax is out of the wat, i started thinking about the problems i was working on differently. I understand now how computers work on a more fundamental level and what the code is actually doing under the hood. What's actually happening when i declare a variable, define a function or compile some code.
Before i understood that stuff I realize now i was always kinda just shooting in the dark only vaguely understanding what i was actually doing.
But, it took a long time. I guess the very first time i ever programmed was i dunno at like 5 or 6 years old when i managed to write a loop on the atari. It took almost two decades learning on and off for me to actually understand what i was doing.
I'm still not sure if i'd feel qualified enough to apply for a professional programming job.
I would say that the ability to write good code is related to problem solving capacity and intelligence.
Someone with experience in a few languages has no difficulty reading code in a lot of languages, and can get going in them quite quickly, but the first few hours/days are going to involve a lot of looking up trivial things, especially if starting with an empty page instead of tweaking in existing code.
It would be astonishing to me if it's true though.
In fact I'm repeatedly amazed at how well people program and think about solutions to problems.
[](){}(); This doesn't test your programming skills either
Regardless, what’s the point in asking people how bad practice code works? Why would anyone write a lambda that does absolutely nothing?
What problems don’t boil down to that?
The other developer of this type that I've seen can only connect cloud services together.