5 ms·
It's funny, I almost noted that arrow functions are a definite oddity of JS that I could see people thrown off by.
by willio58 4y ago
It's funny, I almost noted that arrow functions are a definite oddity of JS that I could see people thrown off by.
- marcosdumay 4y ago> oddity of JS I can't think on any modern language that lacks some short syntax for lambdas. Hell, it's very easy to make a point that lacking short syntax for lambdas make a language not modern and unusable for our current standards.
- willio58 4y agoI'm a little confused what you mean by JS lacking a short syntax for lambdas. let multiply = (a, b) => a * b; Is this not a lambda?
- kaba0 4y agoParent means that basically every language has lambdas, so it could hardly be an odd thing.
- willio58 4y agoOhh! Thanks for clarifying
- earthling8118 3y agoYou've missed their point entirely. It was never stated that JS was lacking this, rather than most languages DON'T lack it.