5 ms·
This doesn't solve the problem for everyone else, but when interviewing, solve the problem for yourself: Bring your own laptop. (Or borrow one if you need to!)
by jerf 16y ago
This doesn't solve the problem for everyone else, but when interviewing, solve the problem for yourself: Bring your own laptop. (Or borrow one if you need to!)
I can't believe in 2010 this isn't "conventional wisdom", but heck, take advantage of the competitive advantage while you can. No matter how impressive your linked list reversal is on the whiteboard, running code is even more impressive.
- gvb 16y ago(blush) That didn't occur to me. Good thing I haven't had any "program on a whiteboard" interviews. Thanks for giving up your competitive advantage to all the HNers. :-) Personally, I hate to program on someone else's computer. I run pretty bog-standard linux with minimal plugins and aliases (in part, so that I'm comfortable in a bog-standard environment typical of servers). The problem is, lots of people have customized the crap out of their system. The result is added discomfort when I try to do something on their computer.
- dlo 16y agoSomeone once brought in his laptop. He showed me a running program and gave me a tour of his code. It was very impressive.
- Luyt 16y agoThat's very much like what I would ask from a candidate developer: "Bring your laptop and show me some stuff you made in the past year(s), and expect to implement a small programming problem I give you. You may use your favourite development environment for that."
- Leynos 16y agoWhat happens if they don't have a laptop?
- ojbyrne 16y agoWouldn't that be some kind of a contra-indication? Not a definite "don't hire" signal, but pretty close.
- abalashov 16y agoNow, sorry to say, but that's just a stupid presumption. It amounts to either economic discrimination against people who can't afford a laptop (for a whole host of possible reasons other than "I guess they never had a job that paid well because they are crap programmers"), or at the very least, prejudice against people who work on desktops and don't like laptops. Not every programmer is a laptop-wielding RoR nomad who writes code wherever, whenever. Some people need their special cave and their fixed rig. Don't assume everyone is like you.
- mseebach 16y agoGiven last.fms database of (user, (artist, track), datetime) plays, how would you quickly recommend me something to listen to? Now you have two problems. First, your code, in order to run, needs to load in and process this list, and you need to decide if it's a flat text file (the format of which you then need to define and parse) or if it is in a database (the connection to and schema of you will then have to deal with). That's boilerplate that's (a) easy to get around on the whiteboard (b) utterly irrelevant to the question asked. Second, you don't actually have such a list, so running your code isn't actually impressive. Mocking up a sample list takes time, and engineering it to create useful results even more. Next, I ask you to parallelise it, and you don't recall the pragma that OpenMP uses, so you just need to pull up the manpage, or you don't have the Actors library installed, so, uh, what's the password for wireless? Oh, and you still don't have that large file, so even if you get your parallel code running before I run out of patience, waiting for the answer "well, access to this counter would have to be synchronised, so that would create a bottleneck", running your program will still not have enough data to munch on to gain any insight in it's performance. tl;dr: You will have to be very sure of yourself to pull this off. I want to know how you think, not how you handle your tools.
- jerf 16y agoYes, much better to just handwave; that'll show you have it all together. You're seriously arguing against having somebody actually code in their interview? I'm not saying it has to be the entire interview, but how incredibly crazy is it to actively argue against the idea that maybe you, as the interviewee, might want to actually show you can do what you say you can do? Besides, I find myself questioning if you've been on the interviewer side of very many interviews. Finding people who can slurp a file in at all is a damn good start, unfortunately. Then again, I know I do this really whacky thing where my interview isn't set in stone, but I actually react to the skills demonstrated on the other end of the table. Believe me, if somebody walks in sporting a laptop I'll customize something up for them to show me out of my base set of questions. It would hardly be any different than what I do anyhow.
- mseebach 16y agoLay off the strawman, whiteboard programming is not handwaving. And I can do without the ad hominem as well. No, I haven't done a lot of interviews (about 6-7 I think), but my post still has a substance that can be argued against. > You're seriously arguing against having somebody actually code in their interview? No, I have no problem with coding in an interview (I think it should be part of it, just not the part where you do something else). I have a problem with generalizing the advice "When asked to do whiteboard programming, whip out your laptop.".