r/javascript • • Apr 24 '21

/r/ReScript - A sub for the ReScript language. The JavaScript-like language you have been waiting for.

/r/rescript/
0 Upvotes

3 comments sorted by

1

u/[deleted] Apr 24 '21

I don't like that it is a subset of JS rather than a superset (like TS). It reminds me of the days of "the good parts", while now what I want is to know the "whole set" and pick what's right for my use-case.

1

u/Tomus Apr 24 '21

The parts that are left out are to make a more sound, robust, and type-safe language. This leads to more readable, maintainable and bug-free code in my experience.

There is still 100% interop with existing javascript code though, so if you need to do something truly dynamic that isn't supported there are escape hatches. Plus you can leverage the existing JS ecosystem.