Elm is a language that compiles to JavaScript, or in other words, Elm is a language to generate functional JavaScript code.
This guide is talking about installing and setting up elm version 0.17.1
Why we need Elm?
Elm is a programming language for declaratively creating web browser-based graphical user interfaces. Elm is purely functional
, and is developed with emphasis on usability, performance, and robustness. It advertises “no runtime exceptions in practice”, made possible by the Elm compiler’s static type checking.
Update 22, Oct 2016.
I came across Elm For Beginners amazing set of tutorials by James Moore, i would recommend watching it. Also his note on Development Environment Setup Steps
Features of Elm
- JavaScript Interop
- No Runtime Exceptions
- Great Performance
- Enforced Semantic Versioning
Read details.
1. Installing Elm Platform.
You can download the latest package from here.
OR
- Mac Installer
- Windows Installer
- Anywhere npm or build from source
Configure Your Editor
Before you start you can play around with the online editor to get familiarized with the language.
Why should you consider using Elm?
Elm offers many benefits over JavaScript, which you’ll see in this course. Benefits such as:
- Zero Runtime Exceptions
- Simplified Debugging
- Easy Refactoring
- Helpful Type System & Compiler
- Improved Productivity
- Inherently testable code
- Enforced Semantic Versioning
Source