3 ms·
I was actually hoping that JS would be moving more and more into FP territory...
by oweiler 5y ago
I was actually hoping that JS would be moving more and more into FP territory...
- mirekrusin 5y agoIs is with immutable constructs (record and tuple [0]) for example. Current FP story in ts/flow is surprisingly good. [0] https://github.com/tc39/proposal-record-tuple https://github.com/tc39/proposal-record-tuple
- spiralx 5y agoOh, I like that a lot, especially as they've proposed a new JSON.parseImmutable() method as well. The syntax is surprisingly simple (and obvious!) and deep equality and simple comparisons is perfect. Deep paths look interesting on top of this, the idea is one I like but not sold on it being implementable in any sort of non-clunky way. https://github.com/tc39/proposal-deep-path-properties-for-record https://github.com/tc39/proposal-deep-path-properties-for-re...