3 ms·
Why not use a language that has the benefits of TS + everything you say and is designed to be independent from JS. I'm thinking of OCaml for example. Why not u
by p4bl0 6y ago
Why not use a language that has the benefits of TS + everything you say and is designed to be independent from JS.
I'm thinking of OCaml for example. Why not use OCaml rather than TS?
Edit: Actually the idea is so obvious that you have ReasonML that can compile both to JS and assembly and is basically OCaml with a JS-like syntax: https://reasonml.github.io/docs/en/what-and-why https://reasonml.github.io/docs/en/what-and-why
Isn't that exactly what you're thinking of?
- int_19h 6y agoOCaml doesn't have all the benefits of TS, when it comes to the power and the flexibility of its type system.