Identifiers in dash case (aka kebab case) are valid properties of objects, but not as variable names.
Apart from that, I personally agree with the conclusion; but to add a different perspective, Kyle Simpson (author of the You don't know JS book series) has a section on that in his book on functional programming:
There is no fragment I can link to, I'm referring to the section "Reassignment".
I don't dispute the argument, that people which didn't bother to learn the language could confuse not being able to reassign a binding with an object being immutable, I just expect that anybody who develops software for a living to master the fundamental semantics the programming language they use.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Identifiers in dash case (aka kebab case) are valid properties of objects, but not as variable names.
Apart from that, I personally agree with the conclusion; but to add a different perspective, Kyle Simpson (author of the You don't know JS book series) has a section on that in his book on functional programming:
github.com/getify/Functional-Light...
There is no fragment I can link to, I'm referring to the section "Reassignment".
I don't dispute the argument, that people which didn't bother to learn the language could confuse not being able to reassign a binding with an object being immutable, I just expect that anybody who develops software for a living to master the fundamental semantics the programming language they use.