ReScript
Hacker ApprovedShares rank 87 of 163 programming languages by recommenders
People recommend ReScript as a sound-typed language that compiles to JavaScript, with pattern matching and algebraic data types, and as a simpler alternative to TypeScript.
People recommend ReScript as a sound-typed language that compiles to JavaScript, with pattern matching and algebraic data types, and as a simpler alternative to TypeScript.
15 people gave an opinion
- recommend it
- 13
- criticize it
- 2
- approval share
- 87%
Recommended in 10 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: not recommended
- June 2026: not recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 13 people recommend itNeeds 10 or more, met.
- 6.5 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 10 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Sound types, fewer JavaScript pain points
“It improves on all the bad parts of typescript. You'll get sound types with the pain points of javascript stripped out.”
Comment from 23 Nov 2025 in “`satisfies` is my favorite TypeScript keyword (2024)” “robustly typed language that compiles to efficient and human-readable JavaScript”
Comment from 30 Nov 2025 in “ReScript 12” “It has a sound type system, great language.”
Comment from 28 Aug 2026 in “Htmx 4.0” - Comment from 23 Nov 2025 in “`satisfies` is my favorite TypeScript keyword (2024)”
Better alternative to TypeScript
“It improves on all the bad parts of typescript. You'll get sound types with the pain points of javascript stripped out.”
Comment from 23 Nov 2025 in “`satisfies` is my favorite TypeScript keyword (2024)” “a more seasoned dev team can easily pick it as an better alternative to typescript”
Comment from 19 Nov 2025 in “Experiment: Making TypeScript immutable-by-default” “Using React in rescript is much nicer than TypeScript.”
Comment from 5 Sep 2026 in “Learn Programming with OCaml” Simple language, low complexity
“the language is rather simple compared to typescript (which is also its strength)”
Comment from 23 Nov 2025 in “`satisfies` is my favorite TypeScript keyword (2024)” “It occupies a nice middle-ground between OCaml and Gleam.”
Comment from 14 Dec 2025 in “I tried Gleam for Advent of Code” “Sound types with low complexity.”
Comment from 23 Nov 2025 in “`satisfies` is my favorite TypeScript keyword (2024)” Pattern matching and algebraic data types
“which has an example of pattern matching right there on the home page”
Comment from 22 Nov 2025 in “`satisfies` is my favorite TypeScript keyword (2024)” “the language allows for algebraic data types, nominal types, etc”
Comment from 8 Dec 2025 in “The "confident idiot" problem: Why AI needs hard rules, not vibe checks”
Other programming languages people recommend
The four most recommended other programming languages, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 163 programming languages, rankedWhat people said
21 of the 25 comments that mention it, newest first. Each links to the original comment.
“they are industrial strength tools that people rely on in production”
“Using React in rescript is much nicer than TypeScript.”
“It has a sound type system, great language.”
“I've just pushed a big update that adds a lot of manual controls over the start/end of words as well as the ability to manually split clips”
“Now live on ProductHunt! Please support the launch :)”
“ReasonML / Melange / Rescript are a wholistic approach to this”
“they push you to think about your data and types first”
“would make a nice middle ground between rust and typescript”
“your best bet is Rescript”
“there is many "better" options out there, like Elm (even its kild of a dead languge) and ReScript/ReasonML etc.”
“It occupies a nice middle-ground between OCaml and Gleam.”
“the language allows for algebraic data types, nominal types, etc”
“I have had good results with languages like Haskell and ReScript.”
“robustly typed language that compiles to efficient and human-readable JavaScript”
“the language is rather simple compared to typescript (which is also its strength)”
“It improves on all the bad parts of typescript. You'll get sound types with the pain points of javascript stripped out.”
“Sound types with low complexity.”
“which has an example of pattern matching right there on the home page”
“if your not a fan of the elm architecture”
“a more seasoned dev team can easily pick it as an better alternative to typescript”
“I'm still mad about Reason/ReScript for fumbling the bag here.”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.