4 ms·
> For self-contained projects it's strictly superior to typescript: its type system is simultaneously easier to work with and more sound, with better type infer
by eterps 4y ago
> For self-contained projects it's strictly superior to typescript: its type system is simultaneously easier to work with and more sound, with better type inference.
Exactly, typescript is a highly complex addition to a relatively messy language (JS).
Rescript feels like what Typescript could have been, a cleanup of JS and a sound typesystem and excellent type inference. (however breaking compatibility as a consequence)
IMO Rescript is easier to read than plain JS and still it's fully typed.