News for hackers. Stuff that matters.
Re:All the jobs I failed to get by juniper_strong on Saturday September 19, 2020 @02:52PM (#24529639)
I think I've used it twice in production code over the last 20 years. The first was to traverse a directory tree. I wouldn't write it that way now since there is now a standard library to do what I was doing then. The second was to traverse an object's children logging certain pieces of data from the sub-objects. I didn't design that one, I just wrote it so I don't know if there was a library that would have done it for me. Fun to write though.

Generally, developer interviews are just stand-ins for IQ tests since it is illegal to give a candidate an IQ test. Seeing if someone can easily write a recursive function is a pretty good IQ test.

Re:All the jobs I failed to get by giantg2 on Saturday September 19, 2020 @05:14PM (#24530351)
I guess it also weeds out the smart-asses like me who would question why I need to reinvent the wheel.
Re:All the jobs I failed to get by andi999 on Saturday September 19, 2020 @03:16PM (#24529771)
Finally it all makes sense. I was wondering about it and it also explains how the 'brain teaser question' like how many google engineers do you need to change a lightbulb or were there different questions, anyway, came about.