4 ms·
These examples are amusing but irrelevant. What I find sorely lacking is sane syntax for working with arrays. Eyeing Python with envy every time. And some pat
by gherkinnn 5y ago
These examples are amusing but irrelevant.
What I find sorely lacking is sane syntax for working with arrays. Eyeing Python with envy every time.
And some pattern matching would be nice too.
- Joeri 5y agoBoth are stage 1 proposals that I hope get in there some day. https://github.com/tc39/proposal-slice-notation https://github.com/tc39/proposal-slice-notation https://github.com/tc39/proposal-pattern-matching https://github.com/tc39/proposal-pattern-matching
- DarkWiiPlayer 5y agoSpecial syntax for specific data structures are exactly why I hate so many languages. No. We don't need more of that garbage. Map & co. do everything you need and adding yet another syntactic construct on top of it would just break the language even more.