2 ms·
typescript is only slightly more verborse than reason (or is it rescript?), the syntax is almost identical (does reason still have those annoying explicit ocaml
by nsonha 5y ago
typescript is only slightly more verborse than reason (or is it rescript?), the syntax is almost identical (does reason still have those annoying explicit ocaml/js conversions?).
At this point the features that ts has and reason doesn't out number that of the other way around. I only know that reason has more stringent jsx types and opaque types (easily done in ts in 2 lines of code). On the other hand ts has mapped types and conditional types, weird as they are, pretty unique to itself. In the future, expect ts to be even more functional and absorb ideas from F# which is also from microsoft.