by djsumdog · 10y ago · 0 comments
"Could you write out what an HTTP request and response looks like on the board?"
I'm really surprised at how many people can't do this. If you've spent five years developing web, surely you've had to look at raw requests, either debugging using netcat or with wireshark or just looking at the information in the Chrome/Firefox debugger?
"What's the difference between a GET and a POST request?"
"What is the difference between a statically typed and a dynamically typed language?"
I had one candidate try to tell me Java was dynamically typed and Scala was statically typed. It was for a Scala position. They also said "statistically typed" instead of statically, even after I corrected them.
-_-
And 95% haven't used netcat or wireshark. I wouldn't have either, if it wasn't for some particular work related to messaging.
They're able to develop reasonable line of business websites in spite of that.
I would be extremely worried if they were unable to answer about the difference between GET or POST, or the difference between statically and dynamically typed languages, so I agree with those.
CGI is also cool to learn about the workings of, since it almost seems too simple.
Sure I did.
Then I forgot most of the details because they didn't matter, and I knew I could look them up quickly if I ever needed to write a HTTP client/server for some reason.
You need two newlines to finis the request, plus the HTTP 1.1 standard requires clients to send a Host: header for all requests.
Not saying every interviewer would care about that in an early screening process.
Because you did: after that you have to provide a Host: <hostname>.
Yeah expecting many people to be able write out a complete http request from memory without a reference to look at. But the general structure of a http request is something so basic to web development that asking what the structure of a http request looks like isn't an unreasonable expectation.
Request line (method, uri), header(s), empty, body...
Learning to use wireshark or tcpdump is a power tool that does show whether you got more experience in understanding the lower levels, or stayed at requirements-and-tests. (Not necessarily bad, but a good "fork" to jump off from)
A previous employer had a sysadmin wiki. We call it Devops now, but I really liked working with the plain-text files of Dokuwiki there. Confluence is good for some things, but as a notebook of shell snippets and when to use them, it's not great.
Why should anyone remember what an http request or response should look like? Statically typed vs. dynamically typed language?
Fuck.
Are these entry-level positions or for someone with 10 years work-ex? A simple search on Google can tell anyone the answer of these questions, why do you expect people to carry an imprint of it in their memory? If the problem they'll work on mandates knowing these things it'd be pretty easy to solve with just one search. It is exactly questions like these that are worth kicking the host organization back in the butt.
Either your interviewing process is hilariously stupid or you're just spiking it up to boost the ego here.
And then your non-engineer phone screener who's expecting the answer to match the scripted sheet will conclude that I don't know this "fundamental" thing and thus am unqualified.
It's a hypothetical no-go! Every person, even the fourth grader knows the number 4. So why ask a question that measures their ability to remember 4, say 4 or show that they know 4.
> I don't see how a programmer could be remotely competent without having been exposed…
Share this link with them:
http://stackoverflow.com/questions/1517582/what-is-the-diffe...
Invest in people and people will invest back in your business. Interview process that I follow at my workplace has just one goal to assess: whether or not it'd be great to work with this person and spend over ~50 hours per week with them.
There are a number of basic items that a competent programmer needs to know off the top of his head. If they had to google for every single item, then their productivity goes down the drain and so does the entire team's productivity. You should fix your hiring.
"OK, so you'd like to work here as a mechanic. What's the difference between automatic and manual transmission?"
"It's not fair to expect me to know that off the top of my head. If I need to know, I'll just do a Google search."
Nope, more like "can you write out on the board what types of connectors are used in the car cooling system and in what order".
You're gonna have a hard time drawing a comparison between a line of work where you build things and one where you fix things.
I once aced a geography exam because I happened to read up on the economics of Nigeria just before I took it. By sheer luck, there was a question about Nigeria in the paper.
If I'd read about Zimbabwe instead I'd have been screwed.
Neither possibility provided much insight into my competence as a geographer.
Even if a job spec needs specific knowledge of key facts, you can't generalise from pass/fail memory questions to broad spectrum competence, or lack of it.
If a candidate has no idea what an HTML request is, that's one thing. If they know damn well what a request is but can't list all the elements in a stressful interview while you're staring at them, - because in fact they spent the last year working on database code, and the API stuff was the year before that - that's something else entirely.
As always, this sort of question is a test of competence by proxy and there are usually outliers, but statistically speaking, I think you'll find a very high correlation between inept programmers and people who don't know the difference.
I actually just sat down in a meeting with a dozen programmers, some of them with decades of experience, and half of them didn't know what functional programming was.
Your example shows that not every programmer has to know that.
I have a follow up question, "What are the advantages of a dynamically typed language over a statically typed one?"
This one kinda exposes the "Java-zellot" side of programming. If you love Scala and you're applying for Scala position, you don't often think like this. Being able to think critically about the things that are harder in Scala, that would be easier in a language without strict type checking, is a another good way to gauge if people can think critically.