6 ms·
> handwriting C /…/ reading out what I'd written, semicolons and all, to the interviewer. I had to re-read it to make sure you are not joking. The fact that yo
by coolhoody 4y ago
> handwriting C /…/ reading out what I'd written, semicolons and all, to the interviewer.
I had to re-read it to make sure you are not joking. The fact that you were not made me laugh harder.
I'm now just saying "retuuurn" in various exaggerated accents.
- bitwize 4y agoI believed it. Amazon tried to make me do the same thing. I stopped the interview.
- munificent 4y agoI'm picturing them arguing vigorously over what character the word "bracket" specifies in American versus British English.
- brigandish 4y agoAre brackets different in American English? I'd say the Queen should order a second burning down of Washington but, the way things are going, the locals will probably get to it soon.
- fourthark 4y agoOne difference is that we don’t have “round brackets” over here, only parentheses. (We do have “square brackets” however.)
- c3534l 4y agoparens: () brackets: [] braces:{} Versus: brackets: () square brackets: [] curly brackets: {} Still drives me less mad than "inverted commas" though.
- mshockwave 4y agoHere is what Clang uses: https://github.com/llvm/llvm-project/blob/589b9df4e15131348b8d94406e0667d6e1b7518b/clang/include/clang/Basic/TokenKinds.def#L184 https://github.com/llvm/llvm-project/blob/589b9df4e15131348b... parens: () squares: [] braces: {} basically a mixed of British and American English
- robocat 4y agoBut don’t many (most?) US programmers call () parentheses? I assume non-programmers in the US call them brackets? 1.9M results: lisp "parentheses" -brackets 800k results: lisp "brackets" -parentheses I admit result counts are more similar if lisp is replaced with “python” or “golang”, but square brackets come up more often for those languages. Disclaimer: I am searching from google.co.nz, and I presume search result counts are not a great proxy measurement for actual usage!
- SmellTheGlove 4y agoNo. Most US non-programmers call () parentheses, not brackets.
- alexander-litty 4y agoIn my lifetime, “parentheses” has been the canonical way to refer to () in the US. “Brackets” is an umbrella term that can describe one or all of (), {}, and []. If you’re in a context where only one of the bracket types would normally be used, you can just call them “brackets.” Since many people never really use [] and {}, “brackets” casually refers to (). To disambiguate, you can call () “open brackets”, [] “square brackets”, and {} “curly brackets.” And for the cherry on top, {} can be called “curly braces.” That’s my preferred term for them. But it’s awkward to call [] “square braces” and () “open braces” :)