Hacker News new | ask | show | jobs
by haolez 1890 days ago
I'm much more interested in ReScript[0] than TypeScript, but I guess that TypeScript is much more appealing to C# programmers and much more supported as a whole.

Anyone here has some experience with ReScript (or ReasonML, for what it matters) to share with the rest of us?

[0] https://rescript-lang.org/

2 comments

For me, the consistency with JavaScript's existing syntax is a great advantage of TypeScript. TypeScript's "allowJs" flag also makes it easier to convert an existing codebase.

ReScript seems to have come a long way since I last looked at it (it was just called ReasonML at the time I think), so it'd be worth looking into.

It has been a while, but BuckleScript is the pain point. TypeScript is much easier to use within the existing JS ecosystem.