# ReScript

13 Hacker News commenters recommended ReScript and 2 criticized it, November 2025 to November 2026. It was recommended in 10 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** 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.

## Why people recommend it

- Sound types, fewer JavaScript pain points (4 comments): "It improves on all the bad parts of typescript. You'll get sound types with the pain points of javascript stripped out." ([source](https://news.ycombinator.com/item?id=46022726)) "robustly typed language that compiles to efficient and human-readable JavaScript" ([source](https://news.ycombinator.com/item?id=46092290)) "It has a sound type system, great language." ([source](https://news.ycombinator.com/item?id=49482069))
- Better alternative to TypeScript (3 comments): "It improves on all the bad parts of typescript. You'll get sound types with the pain points of javascript stripped out." ([source](https://news.ycombinator.com/item?id=46022726)) "a more seasoned dev team can easily pick it as an better alternative to typescript" ([source](https://news.ycombinator.com/item?id=45979060)) "Using React in rescript is much nicer than TypeScript." ([source](https://news.ycombinator.com/item?id=49581885))
- Simple language, low complexity (3 comments): "the language is rather simple compared to typescript (which is also its strength)" ([source](https://news.ycombinator.com/item?id=46024239)) "It occupies a nice middle-ground between OCaml and Gleam." ([source](https://news.ycombinator.com/item?id=46260711)) "Sound types with low complexity." ([source](https://news.ycombinator.com/item?id=46021915))
- Pattern matching and algebraic data types (2 comments): "which has an example of pattern matching right there on the home page" ([source](https://news.ycombinator.com/item?id=46018588)) "the language allows for algebraic data types, nominal types, etc" ([source](https://news.ycombinator.com/item?id=46192215))

## Alternatives hackers recommend

- [Rust](https://hackerapproved.com/p/rust.md): 2039 recommend
- [Go](https://hackerapproved.com/p/go-programming-language.md): 1254 recommend
- [Python](https://hackerapproved.com/p/python.md): 1067 recommend
- [Zig](https://hackerapproved.com/p/zig.md): 743 recommend
- [TypeScript](https://hackerapproved.com/p/typescript.md): 574 recommend

## Cite as

Hacker Approved, "ReScript", https://hackerapproved.com/p/rescript/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
