News for hackers. Stuff that matters.
Re:How to Pass a Programming Interview by lewisl9029 on Tuesday March 08, 2016 @03:05PM (#11248122)
I personally also prefer take-home projects over being grilled on my ability to solve obscure algorithms problems under pressure.

However, this second route also comes with a number of issues. The most annoying of which in my experience is the amount of time investment each interview requires from the candidate.

At least in the traditional technical interview, interviewers and candidates tend to be roughly equally invested in the interview process in terms of time spent, so interviewers have to value candidates' time because failure to do so will end up wasting their own time as well. In take-home projects, this balance in time investment completely breaks down, and thus there's very little left to discourage interviewers from issuing ridiculously time-consuming projects.

I've done a few of these in the past, mostly to get some practical experience with a new framework & ecosystem I'm not too familiar with yet, but I think in the future I'll likely just politely decline any projects that looks unreasonably time-consuming, or at least try asking for certain adjustments to the spec first.

Re:How to Pass a Programming Interview by SonicSoul on Wednesday March 09, 2016 @07:54AM (#11252655)
I've gotten a take home test that took all Saturday. I finally finished it happy with myself and with my work and emailed it in. The response was "thanks, are you ready for the next exercise?" i was like.. um.. I really need to get on with my weekend. This was deferred to the big boss who said "It's ok just do it whenever you have time next" .. ook so that was my next Saturday. Worst part is that after turning that in, and I am fairly certain both were done really well, I never heard a word back from them. I was frustrated as hell but you know, that's all part of the job. Sometimes you waste a little time while you look for work. Look at other industries such as acting, actors could easily spend a day going to auditions waiting in lines preparing for characters and never getting a callback. My dad is in construction and for him to make an appraisal he has to study the house and waste a ton of time doing crazy calculus mapping out exactly how much area it takes and how much siding it will need considering the weird shapes around the chimney and how many hours it will take to cover it. You want to give yourself some padding but then he most likely won't get the job because the owner will go against other "free" appraisals and take the lowest bidder. If he goes too low he's risking working extra days for free or earning very little on the job. So doing all that free work is pretty much part of his job. As I hiring manager I try to waste as little time as possible, but at the same time I feel like a lot of programmers are spoiled and quick to complain about their time and pretty much expect to just get hired after 2 hr interview. This is someone you're hiring potentially for years (and any mistakes are hard to fix later) so yes, time will be wasted on both sides to try to ensure a good fit.
Re:How to Pass a Programming Interview by smalltimeboss on Wednesday March 09, 2016 @08:48AM (#11252891)
As somebody who regularly employs developers, and being a developer myself, may I suggest you put your Saturdays' effort into an open source github repo or something similar? Sure, this takes time too, but afterwards you can just point your prospective employer to your superbly styled and documented code on github. Both parties win: you don't have to spend time on stupid exercises anymore, they can get a very decent impression of your coding skills.

[Edit: corrected typo]

Re:How to Pass a Programming Interview by SonicSoul on Wednesday March 09, 2016 @03:48PM (#11255638)
I was thinking about posting some of the solutions to past problems on github. The problem is that new employer has no way of knowing it was me alone that provided the solution and how long it took, so I couldn't blame them for not just accepting my public repo as proof of my ability.

For example I had one interview where I struggled to complete a WPF test project simply because it was coded in a way i've never done before using controls I've never used and the test was estimated to take 10 min. Meanwhile in my bag on my laptop I had a complex WPF solution i've been working on in my free time for months as a possible product to market and sell which more than showed my competence in the platform. People in my interview didn't even want to see it on pretext that they have no way of knowing it's my code.

Re:How to Pass a Programming Interview by antoniuschan99 on Wednesday March 09, 2016 @10:42AM (#11253554)
It's just that with the programming tasks that you bring home, the hiring manager isn't wasting the that time with you. With programming tasks that you do during the interview, they are at least wasting the time with you.
Re:How to Pass a Programming Interview by pascalo on Wednesday March 09, 2016 @04:30PM (#11255873)
Or, like when I interviewed once at a very large broadcasting org, they put you in a meeting room with a laptop (windows 7 which I never used before, bad keyboard, bad editor, no internet or reference), give you some half arsed questions and piss off for 30 minutes without you being able to ask what they actually want. Then 10 minutes later someone else comes in and asks you what the hell you're doing in that meeting room, you have no way to contact your interview partner, no idea where he went, they hassle you for about 10 minutes about it, and when your interviewer comes back you haven't been able to even get into the task, let alone write some code ...

Waste of time also, especially if you factor in a 2 hour commute each way.

Re:How to Pass a Programming Interview by tracker1 on Wednesday March 09, 2016 @02:16PM (#11255072)
+this ... it's exactly why, when I do "favors" for people, my requirement is that they're in the chair next to me... even if they aren't doing anything and are bored as sin... so they understand the time/effort that it takes.

It's generally inappropriate for someone to ask you to do more than a day of work for a take-home hiring exercise.

Re:How to Pass a Programming Interview by kafkaesq on Thursday March 10, 2016 @12:37PM (#11260567)
Simply because it is quite difficult to explain the concept in writing.

They might have a different point of view as to the quality of your work. Or they may have taken other factors in consideration (your portfolio, communication style, etc).

But not contacting you with any kind of a status afterward is definitely shabby, on their part.

And asking you to do a second assignment without taking a moment to evaluate your first (and apparently without bothering to tell you in advance that not one, but two or more "quick" assignments would need to be done), all the more so.

Re:How to Pass a Programming Interview by sudo-i on Wednesday March 09, 2016 @10:55AM (#11253651)
Add them to your portfolio and showcase them. Not a waste.
Re:How to Pass a Programming Interview by cloudjacker on Wednesday March 09, 2016 @01:31PM (#11254725)
You can also recycle components of coding exercises. For instance in a project with a front end visual component, it is no longer just the bare bones functionality, as you've implemented fonts, networking layers and data models, and co-opted some design patterns from one company's UX person (but changed the assets) during that interview.
Re:How to Pass a Programming Interview by rhinoceraptor on Tuesday March 08, 2016 @04:17PM (#11248734)
> there's very little left to discourage interviewers from issuing ridiculously time-consuming projects

There's also no disincentive for interviewees to spend an unreasonable amount of time on the project. So the test is biased against employed people and/or people with kids.

This can be easily countered though. Send out the assignment at a predetermined, convenient time and require it be returned an hour or two later.

Re:How to Pass a Programming Interview by kafkaesq on Tuesday March 08, 2016 @04:41PM (#11248926)
Send out the assignment at a predetermined, convenient time and require it be returned an hour or two later.

Except that these places very frequently tend to either (1) misstate the problem in some major or minor way, or (2) wildly underestimate the time required to produce a professional quality, bug-free, bulletproof-tested solution. Which can be easily countered by having one of their own team members sit down and take the test first. But of course, none of these places ever do that.

(Well, not "none." I'm being hyperbolic. I just mean in that in general, they probably estimate the round-trip time on these programming guizzes the way they do micro-projects on their own jobs -- as in, "Oh, I can do that in an hour" -- but in real life, it often takes 2x-3x longer).

Re:How to Pass a Programming Interview by collyw on Wednesday March 09, 2016 @03:59AM (#11251775)
Yes, I got one recently:

Pull down this data from Instagram API and create a tagcloud. Should only take a couple of hours.

Except working out how to register and authenticate Instagram's API took me over two hours, than after faffing about with it I realized I only had some sandboxed version that returned metadata and not the actual data I was looking for.

The task would probably only take a couple of hours if the whole environment was set up, but the set up was the problem.

Re:How to Pass a Programming Interview by ajeet_dhaliwal on Wednesday March 09, 2016 @05:21AM (#11252057)
I have never used the Instagram API and had to look up what a tagcloud is just now. I can immediately say this will take more than 'a couple of hours', whenever I work with a new API it takes time to setup the environment, digest how it works and research the appropriate APIs I need to use. I am not surprised by your experience. Actually makes me angry that someone thinks a reasonable person could do that in two hours with the background I have described. Yes two hours is the environment is setup to make calls to the API and perhaps you have some familiarity with it - so I can see why the person who asked the question would think 'I could do it in two hours, on my Macbook where the environment is already set up and where I know exactly what API is required and what the data format looks like in the response'.
Re:How to Pass a Programming Interview by collyw on Wednesday March 09, 2016 @10:01AM (#11253315)
This seems to happen on around 50% of the take home tests that I have been given. Funnily enough I only take the time to do 50% of them.

Hackerrank is even worse. They have strange ways of wording the questions. I have to Google around to work out how to use their input and output (I work with databases all day long, not reading and writing to STDIN/ STDOUT). No step through debugger (which makes a lot of sense for the algorithmic type questions they ask). Cut and paste only works in some browsers.

No one expects you to set up a database and connect to it in that sort of timeframe - yet I would probably manage it better as I do it regularly.

Re:How to Pass a Programming Interview by kafkaesq on Wednesday March 09, 2016 @01:28PM (#11254702)
This seems to happen on around 50% of the take home tests that I have been given.

That was my rough estimate for the prevalence of this craziness, to.

Re:How to Pass a Programming Interview by kafkaesq on Wednesday March 09, 2016 @01:32PM (#11254742)
My personal favorite, was when, after I had apparently survived a 4-hour interviewing + whiteboarding stint, and thought I'd be able to head out onto the street (as it was already quite late in the day)....

...a math PhD told me "hey, I got one more ya..." and proceeded to give me a mis-articulated mathematical search problem which -- going by his own statement of the problem, ended up having as its "solution" -- an empty class.

Re:How to Pass a Programming Interview by autarch on Tuesday March 08, 2016 @07:56PM (#11250070)
> Which can be easily countered by having one of their own team members sit down and take the test first. But of course, none of these places ever do that.

At my employer we send out homework exercises, and I personally did the backend developer exercise before we sent it to anyone. I did this specifically to test how long it took. (For the frontend exercise, we didn't have anyone skilled enough on staff to do it, which is why we were hiring a frontend dev).

Re:How to Pass a Programming Interview by dpark on Tuesday March 08, 2016 @11:31PM (#11250946)
Did you do the test blind? i.e. Did someone give you the problem without you knowing/hearing it before? If you wrote the problem, or even heard it before you had to solve it, you had a big leg up on someone who's never heard it.
Re:How to Pass a Programming Interview by autarch on Wednesday March 09, 2016 @12:19AM (#11251081)
Fair points. FWIW, we've asked people how long the problem took and they all said it took a few hours, so I think it's the right scope. It really is a fairly easy piece of work.
Re:How to Pass a Programming Interview by kafkaesq on Wednesday March 09, 2016 @01:54PM (#11254909)
Actually, I think this whole fear of candidates pervasively lying about time-to-completion is something of a red herring.

(1) It may seem counterintuitive to some, but my own general policy is, when it comes to little stuff ("how long did it take you to do X"), you just have to trust people, to a certain extent. Sure, some people may blatantly or grossly lie. But most likely these people will reveal their slipperiness in other ways, very very quickly.

Meanwhile -- and I think people are quick to overlook this -- playing the "policeman" role in every transaction with the candidate brings substantial negatives. By definition, it's adversarial. And generally there are (nearly always) non-adversarial ways to get the same information about the candidate ("Are they basically honest?") you're looking for. They take creativity (and an ability to read emotions and pick up on other signals), but they're there.

(2) Much bigger -- really, there's no need to sweat about the time to completion at all. Just look at the quality of the code.

It all just comes down to the fact that everything is interconnected: Good people generally turn out good stuff in reasonable amounts of time. When you're looking at good code, there is, I find, an intrinsic aura of ease and comfort which shines through it -- such that you just can't imagine it took them very long to produce it. Everything just flows -- just like it does when you talk to them.

Mediocre (and dishonest) people, on the other hand... never produce good stuff in virtually any amount of time. Sure, they can take the whole weekend to polish off their code... but it will still look bad, or at best, "Meh".

There might be some false positives (or outright frauds) by this approach), but I suspect very few. And those that do slip through, are easy to spot by other means (such as asking them to talk about their solution, for even a couple of seconds).

Re:How to Pass a Programming Interview by autarch on Wednesday March 09, 2016 @04:21PM (#11255807)
I think the concern is that the homework task could be too large and because people have an incentive to appear competent, they might lie about that to make themselves look bad. That means that we're giving too hard a task but we'll never find out.

As to how likely it is that people will lie, given that we've hired several people who did this homework and they've proven to be as competent as we believed, there's at least some anecdotal evidence that some people have not lied.

Re:How to Pass a Programming Interview by inanutshellus on Wednesday March 09, 2016 @10:29AM (#11253492)
You can't ask a candidate how long it took, they have no incentive for truth here. Either they say it took all night and you think poorly of them, or it really did take a few hours.

You have to ask someone with no skin in the game.

Re:How to Pass a Programming Interview by dpark on Wednesday March 09, 2016 @12:32PM (#11254293)
As others have pointed out, your interviewees have little to no incentive to give you an accurate time estimate.

Beyond that, I think "a few hours" is a bit too much to ask for, especially since you are presumably following up with an in person interview centered around the assignment. That's a big time commitment, and the commitment on the assignment especially is very asymmetric.

I'm not a big fan of assignments for this reason. They are just so asymmetric. I've been given interview homework that was supposed to take "about an hour" and it was more like 4 to 5 in reality. It felt like an unreasonable time request. I did the assignment, and did in fact tell them it took considerably longer than their resonates. I was invited for an on-site after all that, but declined for other reasons.

Re:How to Pass a Programming Interview by popmystack on Wednesday March 09, 2016 @10:35AM (#11253520)
You are begging for people to lie to you.
Re:How to Pass a Programming Interview by kafkaesq on Wednesday March 09, 2016 @05:45PM (#11256222)
If that's the way you think people are... then those are the kind of people you'll attract.

It's how the universe works, basically.

Re:How to Pass a Programming Interview by bogomipz on Wednesday March 09, 2016 @12:33AM (#11251133)
It took a few hours and "it really was an easy piece of work?" How considerate of you. Who was it an an easy piece of work for, someone with unlimited free time. An unemployed person. What a joke. Any problem is easy when you yourself contrive it. Here's an idea, how about you pay someone for the 3 hours or work you are giving them. Say a lot about you.
Re:How to Pass a Programming Interview by autarch on Wednesday March 09, 2016 @01:20AM (#11251264)
I would prefer that we pay people to do this, but unfortunately that's not my call. That said, no one seems to complain so bitterly about the all day interviews that places like Google do (and insist you fly out for in person).

Isn't asking people to fly out for 6-8 hours of interviews (which effectively takes 3 days minimum out of your life) a much greater burden than spending 2-3 hours on some coding which you can do at a time of your choosing? (Followed by 2-3 hours of video chat interviews spread across multiple days, no flying required).

Also, just to clarify, the homework problem is _not_ something related to our business. The solutions are of no business value to the company.

Re:How to Pass a Programming Interview by collyw on Wednesday March 09, 2016 @04:06AM (#11251806)
Are you paying as much as Google? Is your job going to give the same prestige as having "worked for Google" on your CV?

I am not saying that you are wrong, but applying to Google does sound like it will have many benefits above your average company.

Re:How to Pass a Programming Interview by autarch on Wednesday March 09, 2016 @04:25PM (#11255827)
Google is hardly the only company to do in-person all day interviews. I've had several in my career, none of them with Google. IIRC, they were with Shopzilla and Grant Street Group, and Livetext (not exactly Google-famous companies). I wasn't thrilled about flying out for 6 hours of interviews, but at the time I thought it was reasonable for them to ask for this. I'm not sure I'd do it again unless I was incredibly excited about the position in question, but I'm older and more jaded now.

As to how much we pay ... Our pay is very good, and all but one of the positions for which we've had the homework requirement have been telecommuting as well. It's actually a pretty desirable place to work if you like good pay, telecommuting, working at a small company, a low pressure environment (we've been profitable for many years), and various other perks (training budget, flexible hours, blah blah blah).

Re:How to Pass a Programming Interview by kafkaesq on Thursday March 10, 2016 @02:04PM (#11261317)
And the above poster would seem to have an eminently sensible interviewing style, himself:

http://blog.urth.org/2016/03/08/tech-interviewer-theory/

Re:How to Pass a Programming Interview by tracker1 on Wednesday March 09, 2016 @02:31PM (#11255174)
The last time I was in the hiring side of the process... I had what I considered a pretty easy assignment... it was for a full-stack JS developer (node). The assignment was to read in an XML file (preferably via an input stream) and write it out to a JSON file of a predetermined object structure.

There were no other limitations put.. "bonus points for stream based input" "bonus points for test cases" ... only a couple people actually delivered a "working" solution (one that ran and outputted anything), none of which had the correct output (one was close enough), and none had any tests.

It was truly something that should take a "skilled" developer a couple hours. And not something that should be entirely alien. To say the least, I was really disappointed with the results. I did the project myself in about 2 hrs, with test cases, 100% code coverage. (before I even gave it out, it was as trivial a challenge as I could come up with for a real world problem).

Why should I have to pay the couple dozen people for their 3 hours, when none delivered a correct solution?

In the end, the person with the closest to correct solution, was the one with the least experience... that person got the job.

Re:How to Pass a Programming Interview by kafkaesq on Wednesday March 09, 2016 @01:35PM (#11254774)
Well you're one of the brave and true, then.

And I had someone on my previous team make a point of bringing up this fine point at a meeting, also ;)

Re:How to Pass a Programming Interview by pkaye on Wednesday March 09, 2016 @12:30AM (#11251115)
I actually do what you suggest. I pick problems I've never did before and try to solve it in less than 1/3rd the time I allot for the interviewee to account for interview time pressure. Even then there are probably biases because I pick problems that I can solve so I periodically review the candidate success rates on problems and change them out if they are too simple or too complex.
Re:How to Pass a Programming Interview by lewisl9029 on Tuesday March 08, 2016 @04:31PM (#11248849)
> Send out the assignment at a predetermined, convenient time and require it be returned an hour or two later.

This honestly sounds like a great idea to me, except maybe with a slightly longer time allowance to remove some of the pressure. Definitely hoping more interviewers will start to adopt this method for take-home interviews.

But this method also hinges on the interviewer's ability to design projects that can be completed in a reasonable amount of time and still give good insight into a candidate's skills. I think it's safe to say this will be a difficult task for most interviewers.

Re:How to Pass a Programming Interview by nsxwolf on Tuesday March 08, 2016 @05:15PM (#11249228)
A day or two should honestly be fine. Have them talk about the solution after turning it in. It's a lot easier and more interesting to talk about code you just wrote than it is to make someone whiteboard something on the spot.

It doesn't need to be a time trial. If you're impressed with the code and hire the candidate, worst case is you get someone who takes a little more time but writes great code.

Re:How to Pass a Programming Interview by lewisl9029 on Tuesday March 08, 2016 @07:40PM (#11250010)
The time requirement doesn't just set a limit for the candidate though, it also serves as a limit to consider for the interviewer when speccing out the project.

Having a time limit of a day or two is fine if the actual project should reasonably take a couple of hours, but if the project actually takes more than a whole work day to complete, then that's a different story (in my humble opinion, anything that would take more than a couple of hours is an unreasonable demand on the candidates time unless you offer some kind of compensation).

Re:How to Pass a Programming Interview by draw_down on Tuesday March 08, 2016 @04:33PM (#11248866)
> There's also no disincentive for interviewees to spend an unreasonable amount of time on the project.

I don't see any problem with this, as an interviewer. The take-home is supposed to be an example of the work the candidate does, they should take however long to do it. I want to see the best-case scenario of the code they write (given the problem at hand, etc, of course). The entire idea is removing the time pressure.

Re:How to Pass a Programming Interview by rhinoceraptor on Tuesday March 08, 2016 @04:47PM (#11248977)
Right, but workaday programers with two kids and a full time job won't be willing or won't be able to spend, say more than two hours on something like this.
Re:How to Pass a Programming Interview by timv on Wednesday March 09, 2016 @02:06AM (#11251381)
> I don't see any problem with this, as an interviewer.

The issue for the interviewer is missing out on good potential hires because your selection process is biased against people with little free time.

I have a family and I'm doing part-time study in the evenings. If I'm looking for a new job, then I can probably find time for 1 exercise a fortnight. If one company tells me they have a "4 hour assignment" and the other a "1 hour", then I'm far more likely to do the 1 hour exercise and pass on the long one.

And if I do the 1 hour test, I'd expect to be assessed accordingly. If you're comparing one person's output after 1 hour with another who actually spent 5 hours on it, then you will be more inclined to hire the person that spent longer on the project, even though that's not really going to corelate with on the job performance.

Re:How to Pass a Programming Interview by rockshassa on Wednesday March 09, 2016 @12:58AM (#11251208)
Take-home projects can be a double edged sword... for a given project that is estimated to take 4 hrs, i will typically spend about 16 hours on it. working straight through the night, chugging coffee and/or beer. I work by banging out an ugly PoC, and then I refine it drastically over several iterations. My final versions are award-worthy, but the early ones are really bad and sloppy. I am the type that is great at simplifying, but bad at coming up with the initial statement.
Re:How to Pass a Programming Interview by sgift on Wednesday March 09, 2016 @01:35AM (#11251322)
Ignoring the time investment for a moment: That is not a bad approach in my experience. Iterating allows you to learn from the versions before and guide your improvements. As long as the first version is at least good enough to do the job AND good enough to be improved upon (often the harder part) it is absolutely fine.
Re:How to Pass a Programming Interview by tarpherder on Wednesday March 09, 2016 @03:06AM (#11251592)
The only problem with her/his approach is that she/he said it took 16 hours where they would've liked to only spend 4 and be done (as 4 hours was what was expected). 4 hours may be unrealistic for what was delivered in the end but it would make me feel at least slightly awkward putting 16 hours into a 4 hour assignment as it indicates my performance is not where it should be (I'm off x4 which would be a lot to me) or my priorities are not at all aligned with the company's regarding this assignment.

Don't get me wrong everyone takes whatever time she/he needs and comparing results and time spent is hard unless you only look at "does it work" which in many cases does not do the work justice (and may not even be the most important metric in the long run). For that reason take-home assignments may be better than the almost comical interview often described on HN but they have their flaws that make them far from ideal as well!

I think it is hard to judge the true performance of a potential employee in a company team without actually having the candidate be part of the team (and even then it'll take a good amount time before someone settles in). Some folk may not be the best programmers but are good catalysts in a team, smoothing relations between other colleagues and increasing team output overall. Or they might have a habit of happily taking up tasks that are wildly unpopular and thereby, even if they are not the most performant, solving problems colleagues or perhaps a faster candidate wouldn't have solved. I could go on about this but I think it's clear what I mean.

There is a lot more to a role as programmer than just programming and that is often completely neglected in these discussions.

Re:How to Pass a Programming Interview by mattlutze on Wednesday March 09, 2016 @08:37AM (#11252848)
> [...] without actually having the candidate be part of the team (and even then it'll take a good amount time before someone settles in)

Some companies are trying to answer this issue by signing a potential employee on for a 2 week "trial," where they hopefully get paid. The trouble there is figuring out how long a trial really needs to be to get a good idea of how that person works and fits in with the team -- too little and it's still a crap shoot, too much and you've already essentially hired them.

In the meantime, test trial runs only work for developers currently out of a job; how do I skip my current gig for 2 weeks to go sit at a potential new employer's office? I certainly have no safety in quitting to go do it since I may get dropped after that two weeks, and there's only so much vacation you can take before you run out of personal time.

Re:How to Pass a Programming Interview by Bluestrike2 on Tuesday March 08, 2016 @04:26PM (#11248807)
I remember hearing about take-home projects that amounted to free work for a company rather than a test of the programmer's skills, which is pretty smarmy. Anything can be abused or misused. Anyhow, the disincentive would probably be a decrease in applications if they start piling on the homework. Unless you're offering some amazing compensation and perks, or you're hiring for a project that could make a person's career, fewer people will bother when there are so many other companies out there hiring.

Maybe the least worst answer is to have people who have been through the hoops before, and can empathize with candidates, running the hiring processes.

Re:How to Pass a Programming Interview by hyperpape on Tuesday March 08, 2016 @05:22PM (#11249271)
Empathy isn't enough, in my opinion. There are problems with most every alternative:

1. Show-off quizzes are of limited relevance.

2. Take home work is a huge stressor for people with limited amounts of outside time.

3. Open-source contributions are a) too restrictive as a filter, and b) favor people with lots of time, just like #2.

4. Personal connections narrow the pool that you have, promote nepotism, and tend to exclude people who are already at a disadvantage.

5. Looking at previous jobs screws over lots of junior people and just means you're depending on the last interviewer's shitty decision.

Re:How to Pass a Programming Interview by __jal on Tuesday March 08, 2016 @06:45PM (#11249735)
Yes. I refused to do an exercise because it was quite obviously from someone's todo list, was a rather large endeavor, and didn't demand any particular skill aside from trying to find a sensible way to handle the many special cases (think parsing linux network configuration files and a pile of environment-specific behaviors).

I read it and told them (a) I had no interest in a firm that behaved that way, and (b) I had no interest in a firm that didn't understand what configuration management tools were for.

Re:How to Pass a Programming Interview by rhizome on Tuesday March 08, 2016 @05:18PM (#11249246)
Empathy might be in short supply and the interviewer might simply try to replicate the gauntlet that they themselves had to run in order to get hired.
Re:How to Pass a Programming Interview by throwaway12324 on Tuesday March 08, 2016 @04:06PM (#11248625)
Ironically enough, Triplebyte's own take-home projects were some of the worst I've ever had, and did a horrible job of respecting the candidate's time.

When I went through the their take-home interview process, there were 4 projects to choose from, with only one having anything remotely to do with my area of expertise (it was a multiplayer game, and I was looking to work as a web front-end/full-stack developer). For all their talk on how you should select a practical project to talk about because it correlates better to ability to get real work done, it's really rather ironic just how utterly academic and unpractical the projects they offered were (that game was literally the most practical one on the list).

Now they tell you that you're expected to spend at most 3 hours on the project. This might be true for some of the other more academic projects on the list if you had any expertise in the respective areas, but it definitely wasn't true for the multiplayer game project I chose, which had a non-trivial front-end and back-end component, for which testing alone could easily take 3 hours (Or maybe I'm just bad, which is definitely possible, but I've asked many of my more experienced peers how long they think a project like this might take for them, and the lowest estimate I got was a whole work day of 8 hours).

Now they also tell you that it's OK if you don't finish the project. There was also a second part to the interview where they may ask for extensions to the original project, where they'd give us more time to work on it, so I assumed if we don't finish, they'd ask for us to finish the original spec along with some extensions for the second interview. Since I had already finished the front-end component for the game, and had worked on the project for well over the expected 3 hours, I decided to call it a day and work on preparing for some of the other interviews I had that week.

However, that it was OK to not finish the project for the first interview might have been an outright lie. I won't ever know for sure because I was rejected after the first interview for not finishing the back-end as well as being unable to resolve some performance issues the interviewer pointed out (which at no point in the interview did he even ask for me to fix, so I assumed fixing that performance issue would also be a part of the extension). Incidentally, I went back to the project a while after the interview and resolved the performance issue in 5 minutes flat.

The whole process just left a rather bitter taste in my mouth, which was all the more disappointing because I went in with great hopes after reading all their great blog posts on HN. For anyone else considering Triplebyte, I'd highly recommend going with their traditional interview route until someone at Triplebyte can confirm the process has changed for the better. At least with that route, if you get rejected, you'd have wasted less time in the process.

Re:How to Pass a Programming Interview by kafkaesq on Tuesday March 08, 2016 @04:29PM (#11248826)
Now they also tell you that it's OK if you don't finish the project.

Yeah, they always say that -- but it's never really true.

They should just be honest and say "If you don't finish the project in time -- then don't feel bad, but perhaps the test isn't right for you, at this time. Feel free to apply again in 6 months."

Re:How to Pass a Programming Interview by shuzchen on Tuesday March 08, 2016 @04:45PM (#11248964)
I've actually been through two interviews where I wasn't expected to finish the project, and I ended up getting the jobs. I think the difference there was it wasn't set up that it's "OK if you don't finish", but that "these requirements were crafted such that we don't expect you to finish".
Re:How to Pass a Programming Interview by wldlyinaccurate on Tuesday March 08, 2016 @05:03PM (#11249129)
"These requirements were crafted such that we don't expect you to finish" is exactly how we explain our coding tests to candidates, and it seems to work really well. We actually find that many candidates will spend their own time finishing the project _after_ the interview. Programmers do like a challenge, after all, and nothing says "challenge" like "we don't expect you to finish this".
Re:How to Pass a Programming Interview by kamaal on Tuesday March 08, 2016 @06:16PM (#11249574)
>>Feel free to apply again in 6 months.

I don't understand this. No company is so special that I would be throwing away hundreds of hours in pointless meaningless work every few months just to join them! Unless I'm in need of a job again.

And whats the big deal even if I join them after six months, I'd be working to maintain some code, fix bugs and may be occasionally do a big important project.

Its not like they are sending Neil Armstrong to the moon all over again that I would like to be a part of this history.

Re:How to Pass a Programming Interview by pjmlp on Wednesday March 09, 2016 @02:44AM (#11251499)
Me neither, it is like some companies like to feel special.

After being invited twice for Google interviews, I mean really invited by their HR, not me applying for them. On both occasions I failed the process with their stupid questions.

I started replying to their HR, if I am so good to be invited but on their eyes unable to devise a inode search algorithm for unlimited hard disk sizes with a specific set of hardware and search time constraints, over the phone interview, then why couldn't they just please stop inviting me!?

That was the last time I heard from them and I don't care a bit about it.

Re:How to Pass a Programming Interview by kafkaesq on Wednesday March 09, 2016 @01:26PM (#11254677)
Devise a inode search algorithm for unlimited hard disk sizes with a specific set of hardware and search time constraints?

Curious -- was this problem reasonably related to the kind of work you'd be doing in the role you were applying for?

Or did they just want to find out if, you know.... you had that "spark"?

Re:How to Pass a Programming Interview by pjmlp on Wednesday March 09, 2016 @01:43PM (#11254831)
It was a position related to compiler development.
Re:How to Pass a Programming Interview by kafkaesq on Wednesday March 09, 2016 @05:47PM (#11256241)
Weird... what were they thinking?

But thanks. Another data point added to what others have been saying about their hiring process.

Re:How to Pass a Programming Interview by ammon on Tuesday March 08, 2016 @05:25PM (#11249293)
I am sorry that you had a bad experience with us. Evaluation is a really complicated thing. The bar that we use for evaluating the take-home project is to treat it as real work, e.g. would a teammate feel good if you were working with them on this task, and you came back after half a day with this. Because we can't see process, all we can do on the take-home track is judge of the finished result is professional-level programming. We do indeed pass people who do not complete the project on the 1st call, but they need to be on a good path (where we think they can finish by the 2nd call).

I do not know who you are (and would of course not post details here), but from what you say, it sounds like we did not think that you were on track to finish, and has some concerns about the design that you selected (we track whether a number of milestones in the game have been reached). It is totally possible that we were wrong. We much prefer to see a working front-end / back-end combination that has missing features than we do just a front-end or just a back-end.

Again, I apologize for your bad experience. I hope we can make the take-home interview better in the future with some tweaks.

Re:How to Pass a Programming Interview by Joky on Tuesday March 08, 2016 @05:41PM (#11249383)
Just curious: are you making sure your interviewer are actually first trying to code the project in 3 hours before judging candidates? I mean, it seems to me that most of my colleagues (and myself) are always very optimistic with respect to "how long it will take". So if you are judging someone based on your expectation without having went through it yourself, it can lead to a perception gap.
Re:How to Pass a Programming Interview by gaza3g on Tuesday March 08, 2016 @06:24PM (#11249615)
This is a good question because I find that my colleagues from previous companies spent a lot of time thinking of 'good ' interview questions and leave it at that.

None of them actually tried solving it within the constrains that a candidate is put through.

Re:How to Pass a Programming Interview by cookiecaper on Tuesday March 08, 2016 @06:56PM (#11249797)
I think that you almost have the right idea, but 3 hours is too long. I believe a programmer can demonstrate his ability to perform the basics in 1 hour or less. This respects the candidate's time and it also encourages the test's designers to select the most trivial project possible that shows the basic skills they're looking for. That's really what's important.

Larger projects take up more time and introduce a larger possibility that some matters of opinion or taste will impact the candidate's performance. I don't believe differences in taste are important as long as the candidate demonstrates that he is able to comply with a defined style guide.

The actual test is going to depend on the position at hand, but one of my favorites is a very simple program that asks the candidate to use GitHub's API to display the list of public repositories under a user-inputted username. That's it. I tell them they can use any language they want.

This simple test gives all the information we need about the basics:

a) the candidate is able to go online, provision himself an API key, find docs, and reference those docs to see an external vendor's API format

b) the candidate is able to use that information to craft a program that successfully interacts with the vendor's endpoint

c) the candidate is able to present the information in a concise, desirable manner.

d) the candidate is able to do all of this with a simple 1 paragraph description of the project.

The choices the candidate makes in the process of completing this simple task tell you a lot about his process, style, habits, and preferences, even though the project is very minimal in its actual requirements.

I've had people give me web apps, command-line apps, and GUI apps that accomplish this same goal. Many candidates would go above the requested specifications and many candidates would reply the same day they were given the test, which to me was an excellent signal that they felt their time was respected and that we were doing a good job of engaging them and making them interested in working for us.

As I stated, this test is not appropriate for all positions, but I think most tests should be modeled after those principles. Give the candidate room to express himself and demonstrate relevant practical knowledge.

I hope you'll consider a minimalist project like this over something like "design a multiplayer game ... in 3 hours".

Re:How to Pass a Programming Interview by judahmeek on Tuesday March 22, 2016 @04:46PM (#11339837)
As a wannabe junior rails developer, I really like the idea of a technical assessment like this. It seems very practical, yet it's not overly complex.

Have you considered requiring a thought process journal as well?

Re:How to Pass a Programming Interview by throwaway12324 on Tuesday March 08, 2016 @06:56PM (#11249795)
Evaluation is only a very small part of my complaint. The choice of projects that were offered, and the scope of the projects are what really need to be revisited (finishing the project wouldn't have been a problem for me if there existed a project that was relevant to my work that could be completed in 3 hours).

In terms of project choices, to me, it seems like you guys erred on the side of choosing projects developers would find interesting and challenging technically over projects that are practical and accurately represent the kinds of work most developers will actually be hired to do. I'm not going to post the details here for obvious reasons, but out of the four projects offered, only the multiplayer game was even remotely relevant to front-end/back-end or even application development in general, which are areas that probably account for the vast majority of development work available from startups. I realize there needs to be a balance to be stuck here, but in my humble opinion, as a recruiting firm, you should be erring on other, more the practical side in terms of project choice. I applied to Triplebyte to find a job, not to fulfill my intellectual curiosity (I can do that better on my own time without needing someone to assign projects to me).

In terms of project scope, I'm not really qualified to comment on the other choices, because they were way outside my area of expertise, but the multiplayer game definitely didn't feel like a 3 hour project. As suggested in another reply, I really hope you guys can actually give the project a try yourself and see what level of completion can reasonably be expected from three hours of work on something like that. Take whatever times reported by candidates who have successfully completed the project with a grain of salt, because people will have a tendency to understate the level of effort they spent to make themselves look more efficient (no matter how much you tell them you don't care). Here's another possible idea for making projects that take reasonable amounts of time to complete: just take your traditional interview questions and slightly extend them a bit with extra features, and simply expect better polish, architecture, test-coverage, and overall code quality, etc during the code review.

Anyways, my experience with Triplebyte's take-home interviews definitely didn't leave a great impression, but I still recommend you guys to my friends and colleagues because I do want to support what you guys are trying to do. Hopefully you can take some time to revisit some of the issues people have mentioned and make the necessary improvements. I'm happily employed now, but I'd love to give Triplebyte another try the next time I'm looking for work. =)

Re:How to Pass a Programming Interview by cheez on Wednesday March 09, 2016 @06:45AM (#11252350)
This guy has a great beard.
Re:How to Pass a Programming Interview by bm1362 on Tuesday March 08, 2016 @06:45PM (#11249737)
Anecdotally, I had a really positive experience writing the HTTP server with TripleByte. I use interview projects to learn new skills and domains, doing so aligns my interest such that even if it doesn't go well I'm better for trying. My project review went reasonably well- we caught a bug, fixed it and tested. I turned down round two due to taking another offer, but genuinely felt like these guys cared about my progress and experience.

I'm now in a position where I'm interviewing and helping shape my organization's hiring practices. We've debated all the different approaches, some people like projects, some like algorithms, and some don't want to do either to get the job. At the end of the day, I really just want data on a candidate's ability so that I can say Yes.

Re:How to Pass a Programming Interview by throwaway12324 on Tuesday March 08, 2016 @07:09PM (#11249863)
> I use interview projects to learn new skills and domains

There probably lies the disconnect. For me, interview projects should assess how well I could perform in the position I'm applying to. And thus, if nothing else, interview projects should be relevant and practical.

It seems to me that Triplebyte's project choices were made based on how interesting developers might find them, and sheer technical challenge. Some might appreciate this, but personally, I'd rather learn new skills and challenge myself on my own terms.

Re:How to Pass a Programming Interview by lisivka on Tuesday March 08, 2016 @07:21PM (#11249911)
I wrote 4 http servers in 20+ years (perl, java, shell, js). I don't want to write new one because I will develop no new skills.
Re:How to Pass a Programming Interview by kylequest on Tuesday March 08, 2016 @11:49PM (#11251002)
> At least in the traditional technical interview, interviewers and candidates tend to be roughly equally invested in the interview process in terms of time spent

Not really true unless you go to your interviews completely unprepared :-)

Re:How to Pass a Programming Interview by nevon on Wednesday March 09, 2016 @01:23AM (#11251275)
As the interviewer, I'm not going to show up unprepared either. Typically, having an interview means learning about the candidate and what would be interesting to talk to them about, learning what team they might be a good fit for and what they need, and syncing with the other interviewers to make sure we're on the same page. And then afterwards, we'll meet up to discuss how the interviewee did and whether or not we should hire them.

All in all, it's at least an hour of prep time needed, and that's only counting my time, not the time of the other interviewers, managers and recruiters.

Re:How to Pass a Programming Interview by kriro on Wednesday March 09, 2016 @03:30AM (#11251684)
Since the article seems to be about startup interviews an hour of prep time from the employer's side actually seems fairly low. I'd expect closer to a full day. Isn't hiring one of the most important strategic decisions for a startup?
Re:How to Pass a Programming Interview by gopz on Wednesday March 09, 2016 @12:06PM (#11254109)
I got one that was just: "write a web application". That's literally all they gave me for parameters. I decided not to be a dick and send them 5 lines of code returning http 200 so I set off and started a side project I'd been wanting to do for a while. Low and behold I wasn't even close to done after the weekend was over so I emailed them and said "sorry, but I need more time if you want the application I'm working on". I got an email inviting me in for an in person interview after I talked to an engineer for about 20min, so problem solved I guess.
Re:How to Pass a Programming Interview by Joof on Friday March 11, 2016 @09:06AM (#11266645)
Don't worry it should only take an hour or two; an afternoon at most!
Re:How to Pass a Programming Interview by djsumdog on Tuesday March 08, 2016 @05:20PM (#11249259)
not to mention you're asking them to code a (potentially) complex take home project, that could take over an hour, for free.

I had a friend of mine who told me her company doesn't use online programming tests (like hacker rank) because she doesn't think legit programmers would bother with positions that required them.

Having taken a couple of these on-line automated tests, I don't think I'd take them again. Problems which I'm sure I had written correctly, dealing for edge cases and testing in browser; I submit to get like a 6%. Programming simple things in front of people in an interview I do fine.

Re:How to Pass a Programming Interview by ori_b on Tuesday March 08, 2016 @05:30PM (#11249323)
> not to mention you're asking them to code a (potentially) complex take home project, that could take over an hour, for free.

An hour, I'm fine with. It's less than what I'd schedule for an interview, and far less than I'd schedule for an in person interview (which might include a flight out). On the other side of it, though, I'd be concerned about cheating. It wouldn't be too hard to hire someone to take the test for me, I'd imagine.