4 ms·
Once I finally found some code examples, all I saw was JavaScript with print instead of console.log. Doesn’t AssemblyScript already compile Typescript to web a
by FractalHQ 6y ago
Once I finally found some code examples, all I saw was JavaScript with print instead of console.log. Doesn’t AssemblyScript already compile Typescript to web assembly?
- cies 6y agoLook 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)