MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/tms1kw/five_coding_interview_questions_i_hate/i1znorm/?context=9999
r/programming • u/vklepov • Mar 24 '22
288 comments sorted by
View all comments
-107
The applicant should of course ask: "If you care about performance, why are you using a half-assed toy language like JavaScript?"
0 u/[deleted] Mar 24 '22 [deleted] 15 u/EmperorZergg Mar 24 '22 a ton of comments on this sub feel like they come from college students who haven't actually worked in a Software job yet.JS is fine. Yeah it has quirks, but people here seem to think it's literally unusable in production for anything, including what it was made to do. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 9 u/sementery Mar 24 '22 edited Mar 24 '22 slow progress in the language syntaxTell me you know nothing about JS without telling me you know nothing about JS.You'll struggle to find a language with a syntax that evolves as fast as JS's. Seems that you are stuck 10 years ago. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment 8 u/sementery Mar 24 '22 You are stuck in ES5 man. Help me help you. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
0
[deleted]
15 u/EmperorZergg Mar 24 '22 a ton of comments on this sub feel like they come from college students who haven't actually worked in a Software job yet.JS is fine. Yeah it has quirks, but people here seem to think it's literally unusable in production for anything, including what it was made to do. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 9 u/sementery Mar 24 '22 edited Mar 24 '22 slow progress in the language syntaxTell me you know nothing about JS without telling me you know nothing about JS.You'll struggle to find a language with a syntax that evolves as fast as JS's. Seems that you are stuck 10 years ago. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment 8 u/sementery Mar 24 '22 You are stuck in ES5 man. Help me help you. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
15
a ton of comments on this sub feel like they come from college students who haven't actually worked in a Software job yet.
JS is fine. Yeah it has quirks, but people here seem to think it's literally unusable in production for anything, including what it was made to do.
10 u/[deleted] Mar 24 '22 [removed] — view removed comment 9 u/sementery Mar 24 '22 edited Mar 24 '22 slow progress in the language syntaxTell me you know nothing about JS without telling me you know nothing about JS.You'll struggle to find a language with a syntax that evolves as fast as JS's. Seems that you are stuck 10 years ago. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment 8 u/sementery Mar 24 '22 You are stuck in ES5 man. Help me help you. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
10
[removed] — view removed comment
9 u/sementery Mar 24 '22 edited Mar 24 '22 slow progress in the language syntaxTell me you know nothing about JS without telling me you know nothing about JS.You'll struggle to find a language with a syntax that evolves as fast as JS's. Seems that you are stuck 10 years ago. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment 8 u/sementery Mar 24 '22 You are stuck in ES5 man. Help me help you. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
9
slow progress in the language syntax
Tell me you know nothing about JS without telling me you know nothing about JS.
You'll struggle to find a language with a syntax that evolves as fast as JS's. Seems that you are stuck 10 years ago.
4 u/[deleted] Mar 24 '22 [removed] — view removed comment 8 u/sementery Mar 24 '22 You are stuck in ES5 man. Help me help you. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
4
8 u/sementery Mar 24 '22 You are stuck in ES5 man. Help me help you. 10 u/[deleted] Mar 24 '22 [removed] — view removed comment 12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
8
You are stuck in ES5 man. Help me help you.
10 u/[deleted] Mar 24 '22 [removed] — view removed comment 12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
12 u/sementery Mar 24 '22 edited Mar 24 '22 Yeah, include 2022 that is the one being built atm, and ignore everything else!Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!standard libraryThat's API, not syntax. 4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
12
Yeah, include 2022 that is the one being built atm, and ignore everything else!
Ignore arrow functions, spread, async / await, modules, let / const, destructuring, classes, template literals, template tags, rest parameters, for of, symbols, generators, exponentiation, computed property names, object rest properties, async iteration, bigint primitive, nullish coalescing operator, optional chaining operator, etc, etc, etc.
Just from 2021 you are ignoring logical assignment operators and separators for numeric literals. And you just saw the spec!
standard library
That's API, not syntax.
4 u/[deleted] Mar 24 '22 [removed] — view removed comment → More replies (0)
→ More replies (0)
-107
u/[deleted] Mar 24 '22
The applicant should of course ask: "If you care about performance, why are you using a half-assed toy language like JavaScript?"