News for hackers. Stuff that matters.
Re:The Worst Programming Interview Question by lmm on Friday June 27, 2014 @10:43AM (#7954125)
> My favorite question is completely different. "What do you like best about your favorite programming language and what would you change about it if you could?" Anyone who doesn't see any flaws in their favorite language, particularly if it's Java, gets politely shown the door.

What about the poor people who've found a language that they actually like, and understand the tradeoffs that were made? I suspect I recently failed an interview for not having a good answer to that question, but really, what am I supposed to say? If I thought there were significant problems with my favourite language, I'd find a better one.

Re:The Worst Programming Interview Question by jsight on Friday June 27, 2014 @12:07PM (#7954659)
I once voted -1 on someone for not having a good answer to this one a language that he had used for years. I regretted the vote later, as he turned out to be excellent.

Having said that, it does surprise me that people have a hard time with this. Certainly I hope that you like your chosen language and understand the tradeoffs being made, but that is the point of the question really. Surely you can reason about these tradeoffs and have a discussion in this area? If your language is Java and you talk about how you are ok with their decision on erasure because of the legacy concerns, that's a good answer. I may (or may not) agree, but it's still a perfectly good answer. :)

OTOH, it is strange to me that someone would have worked in a language for 10+ years and literally can't come up with anything that they dislike (even understanding the reasons for those limitations). No matter how good something is, it is hard to imagine working with anything (or anyone) for ten years without coming up with a few pain points.

Re:The Worst Programming Interview Question by lmm on Monday June 30, 2014 @07:03AM (#7964471)
> If your language is Java and you talk about how you are ok with their decision on erasure because of the legacy concerns, that's a good answer. I may (or may not) agree, but it's still a perfectly good answer.

I wouldn't feel comfortable answering "what would you change about X" with something I actually wouldn't change about X (though maybe I should).

(FWIW my language was Scala, and while I've only been using it for ~5 years there's very little I would change. The answer I gave was to use HLists rather than Tuples in the standard library, but that feels like a nitpick more than anything else)

Re:The Worst Programming Interview Question by patrickmay on Friday June 27, 2014 @10:52AM (#7954171)
I don't ask for significant problems, just anything about the language that they would change if they could. A common answer when discussing Java is verbosity, for example.
Re:The Worst Programming Interview Question by TheLoneWolfling on Friday June 27, 2014 @11:46AM (#7954513)
Generics and type erasure.