The rise of ReasonML

Michele Riva
openmind
Published in
5 min readJun 5, 2018

--

Index

  • A brief history of ReasonML
  • Static Typing
  • Functional Paradigm
  • Compiling
  • Frontend Usage
  • Backend Usage
  • Conclusions

A brief history of ReasonML

Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.

ReasonML is a new syntax for the OCaml programming language created by Facebook.
If I had to describe OCaml in just a few words, I would say:

As you can see, these four arguments can create a lot of hype these days, where JavaScript libraries like React, Redux, or new syntax like TypeScript, try to increase JavaScript’s performance, maintainability and scaling.

ReasonML takes the advantages of both OCaml and JavaScript and can compile to both languages.

Compiling to JavaScript, thanks to the amazing BuckleScript compiler, means that you can run your ReasonML code on both browser and Node runtime.

--

--