3 ms·
Oh dear, look at those features. Typescript is becoming the big valley of types and syntax overheads. In order to be productive, as a developer I should learn o
by truth_seeker 8y ago
Oh dear, look at those features.
Typescript is becoming the big valley of types and syntax overheads. In order to be productive, as a developer I should learn or know almost all the distinct syntax rules and tons of best practices.
An ideal (or close to it) typed language will have only few type rules and better way to compose them.
I prefer either ReasonML or PureScript
ReasonML is great if you are looking lightweight alternative for compatibility with existing JS libraries. It has relatively far less type syntax than TypeScript.
I find PureScript (which also compiles to JS) to be more succinct and solving the right problems for the developer. Although you need to spend some time writing monadic adapter layer over existing JS library API interface if you want to use them but given the confidence and safety provided by PS compiler, I think it's worth the time.
https://blog.functorial.com/posts/2017-08-09-Why-You-Should-Use-PureScript.html https://blog.functorial.com/posts/2017-08-09-Why-You-Should-...