"Records and Tuples aim to be usable and understood with external typesystem supersets such as TypeScript or Flow." Must be fun to design stuff that shouldn't break your language nor other languages.
Immutability and structural equality will make these extremely useful. I'm concerned how the masses of recent grads and bootcamp grads will interact with these. One of my favorite JS interview questions is "what is the difference between var, let, and const?". I don't reject candidates based on it, I just like hearing the different answers. I only heard the correct answer once out of all the entry-level developers that I interviewed.
8 comments
[ 3.0 ms ] story [ 26.7 ms ] threadJavaScript is adding so much new syntax I feel bad for people starting to learn the language now.
Reference equality is a huge source of confusion for them. Structural equality is what they expect.