3 ms·
Seems like a lot of people went on to be hired by twitter after not satisfying some other hiring processes. What if this just means that twitter hires second ra
by code_duck 8y ago
Seems like a lot of people went on to be hired by twitter after not satisfying some other hiring processes. What if this just means that twitter hires second rate people? Also, I wouldn’t have hired the guy who doesn’t use semicolons in his JavaScript, either.
- deleted 8y ago[deleted]
- petermcneeley 8y ago"Also, I wouldn’t have hired the guy who doesn’t use semicolons in his JavaScript, either." This seems very similar to the c++ issue with single statement ifs. https://flaviocopes.com/javascript-automatic-semicolon-insertion/ https://flaviocopes.com/javascript-automatic-semicolon-inser...
- P4ssw0rd 8y agoThis is one of the interview questions they ask JS developers ... and it's idiotic. No-one in industry uses pure JS anymore. Literally everyone uses ES6 with eslint which will (with default rules) fail the build if you use such ambiguity.
- pcmaffey 8y agoI used to hate when I saw JS with semicolons too. "Get off my lawn" with that naked code! Not sure when or how it changed, but I'm on the other side of the fence now. Without semicolons (unless multi-statements on a single line), JS is so much cleaner. A line break is perfectly sufficient to signal the end of a statement.
- logfromblammo 8y agoThat is a perfectly reasonable opinion. However, as a grammar-nazi, I feel that proper punctuation is important. While certain poetic forms may take liberties with punctuation for the sake of the artistic expression, sentences end with a full stop--separated by a subsequent sentence in the same paragraph by two spaces--and lines of code end in an unambiguous visible token. Newline/return characters are whitespace tokens. Differentiating them from other whitespace tokens is the first step on the path to madness. What's next? Treating tabs differently from spaces? ~ (ha ha only serious)
- code_duck 8y agoI feel very serious about this
- code_duck 8y agoThankfully, 8 million other people have already written discussion on that topic to the extent that we certainly don’t need to try debating it here.
- bitwize 8y ago"I circled back with the candidate via text message and saw #greenbubbles. No hire!"