14/15. I basically only program Python, but I guessed based on vague stereotypes of different languages. The wrong one was guessing Java for C#.
Show HN: 15-question language identification quiz
71–80 of 92 posts
Re: Show HN: 15-question language identification quiz
#72Re: Show HN: 15-question language identification quiz
#73Re: Show HN: 15-question language identification quiz
#74We (Triplebyte) actually tested a while ago whether identifying languages was predictive as an interview question (we thought it might predict general experience / exposure to lots of code). It was not predictive of anything. So this quiz is just for fun!
Came here just to confirm this. I got all right but it doesn't seem to be valid test for hiring. Fun quiz! :)
Re: Show HN: 15-question language identification quiz
#75Earlier quoted context omitted.
Ditto. I'm positive that code would be valid Perl with the right libraries. Which isn't saying much.
Same here, because I knew they intersected and presumed it was a trick question. Technically, I believe it is neither valid perl nor PHP because it's missing an opening brace on one of the if statements.
Re: Show HN: 15-question language identification quiz
#76Re: Show HN: 15-question language identification quiz
#77Earlier quoted context omitted.
Came here just to confirm this. I got all right but it doesn't seem to be valid test for hiring. Fun quiz! :)
Can confirm. I'm a terrible programmer but got 100%. I guess it selects for people with very unfocused careers and no real specialism.
Re: Show HN: 15-question language identification quiz
#78> Just as the ++ in the name C++ is intended to imply that C++ is a step above C, the # in the name C# is intended to resemble two ++ operators stacked on each other, indicating that C# is a step above C++. I've sort of followed C# since it was released, and never realized this.
I recall C# being a musical reference (a higher note than c), which is why it's pronounced C-sharp and not say, c-pound. I would occasionally call it Db (D-flat) to be an arse. I'm not sure if there was a formalized reasoning behind the name or if what I heard was just a rationalisation.
Re: Show HN: 15-question language identification quiz
#79Re: Show HN: 15-question language identification quiz
#80Interestingly enough, question 5 is actually syntactically correct Perl, but not PHP.
if(isset($_SESSION['uid']))
header("Location: reg");
}
is either missing an opening bracket or has got one too many closing brackets.