3 ms·
After one year of OCaml/ReasonML and after that one year of TypeScript, I will not go back to Reason. 1. TypeScript has a better (more practical) type system (
by loxs 7y ago
After one year of OCaml/ReasonML and after that one year of TypeScript, I will not go back to Reason.
1. TypeScript has a better (more practical) type system (for the task of writing a WEB UI and interop with JS).
2. TypeScript is actually usable by people who do not have a PhD in type theory.
3. TypeScript has tools. This is a huge difference.
4. It's faster and cheaper to actually develop a product in TS than in Reason/OCaml.
5. Yeah, TS lets through more bugs, but it's actually just a small blip on the radar.
In practice, TS makes it quite possible to get all of the benefits that OCaml claims without actually paying any real price.
edit: formatting
edit2: I still do use and love OCaml (on the backend), just not fooling myself I can actually ship a real (and big) web UI project using it.