Get Reason-able with #reasonml — Part 1
▻https://hackernoon.com/get-reason-able-with-reasonml-part-1-ac950188141b?source=rss----3a8144ea
RTOP, Datatypes, Let Bindings, Lexical Scoping, If-Else and Switch, Records, and Variants▻https://medium.com/media/b081477695bab3602dd087a6080eeb07/hrefMore than being a new language, ReasonML (Reason for short) is a syntax and toolchain that is powered by OCaml. It gives OCaml a familiar syntax that is geared towards #javascript programmers, and also caters to the NPM/Yarn workflow.With the help of BuckleScript, Reason can compile into readable JavaScript code. It can also be compiled to a fast, bare-bone assembly.Reason is statically typed, providing us with a better clarity while evolving the code base. Instead of writing all the types all the time, the compiler itself can infer most of the types.This is part 1 of a 3 part series where I will help you make sense of ReasonML and all of (...)