2 ms·
The slippery slope toward Scala's operator madness. Please find a sensible stasis. Checkout this list of new JS/Node.js features [0] as an example. Will a wor
by twistedpair 5y ago
The slippery slope toward Scala's operator madness. Please find a sensible stasis.
Checkout this list of new JS/Node.js features [0] as an example.
Will a world with the following be an improvement? [1]
- ??=
- ||=
- &&=
And don't forget the strife around the Python "walrus operator" := [2]
[0] https://node.green/ https://node.green/
[1] https://github.com/tc39/proposal-logical-assignment/ https://github.com/tc39/proposal-logical-assignment/
[2] https://realpython.com/python-walrus-operator/ https://realpython.com/python-walrus-operator/
- valenterry 5y ago> The slippery slope toward Scala's operator madness. Or is Scala's way what languages eventually converge into? Funnily, in Scala, all of these are just simple plain methods. Including the pipe "operator". So Scala as a language is actually simpler here.