Re:Elm Compiler Written in Elm
by fpoling on Tuesday July 13, 2021 @11:40AM
(#27822298)
TypeScript or Flow for that matter sucks at using functional style with immutable data types. There are ESLint plugins that allows to enforce immutability with plain JS objects, but still lack of syntactic sugar or union types makes the experience much worse then in functional languages.
[ Parent
| on HN ]
Re:Elm Compiler Written in Elm
by RobertKerans on Tuesday July 13, 2021 @02:13PM
(#27824217)
https://github.com/tc39/proposal-record-tuple
Only stage 2, so whether it'll get through to next stage is up in the air, will depend on interest (compare to Temporal which started fairly slow but has gained huge momentum recently and is now at stage 3 and engine testing level) but it's encouraging.