3 ms·
Look better. Dont be fooled by syntax. Learn about sum types, pattern matching, strong typing guarantees. Then look again.
by cies 6y ago
Look better. Dont be fooled by syntax. Learn about sum types, pattern matching, strong typing guarantees. Then look again.
- 0x11 6y agoBut doesn't typescript provide all that?
- seanclayton 6y agoTypescript provided none of those besides sum types.
- cies 6y agoand sum types bolted on, it something else from sum types that are idiomatic and used throughout all of the std lib. that's my main gripe with TS: it's bolted on nature. that's why I prefer a clean slate (like Elm, Rust, F#/Fable, ReasonML/ReScript, PureScript, or this "Grain" project)