From the course: ReasonML: First Look

Why ReasonML could be the language for you - ReasonML Tutorial

From the course: ReasonML: First Look

Start my 1-month free trial

Why ReasonML could be the language for you

- [David] Are you looking for a functional programming language with types to help catch errors at compile time rather than runtime? That compiles to both native and JavaScript? And uses a syntax that's familiar to you as a JavaScript developer? ReasonML is a language that checks all the boxes. In this first look I'm going to show you some of the best things ReasonML has to offer. Starting with its type system. It's an integral part of the language. And type inference, figuring out what types your code uses, is so good that you rarely need to specify types yourself. The type system gives you an option datatype that makes sure you handle cases at compile time before they turn into runtime errors. You can add to the type system by defining your own datatypes and use them along with ReasonML's data structures. Lists, arrays, and records. I'm David Eisenberg, and I've been programming and teaching for 40 years. If you're also excited about a typed functional language that compiles to JavaScript, join me in this LinkedIn Learning Course that gives you a first look at ReasonML.

Contents