3 ms·
a.x is far easier to both read and write than a[”x”] (67% is operator syntax compared to 33% in a.x).
a.x is far easier to both read and write than a[”x”] (67% is operator syntax compared to 33% in a.x).
this and () => {} syntax have always been moderate to strong wins in my book for js when creative-coding
Not to mention that the first case gets assistance from autocomplete in an IDE or ipython session. That speeds up typing long, descriptive names so much.