How to set up elm development environment

Nikhil M

1 min read

From the archive: this article was published in October 2016 and is kept for reference. Tools, versions and figures may have changed since.

On this page 6

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

  1. JavaScript Interop
  2. No Runtime Exceptions
  3. Great Performance
  4. Enforced Semantic Versioning

Read details.

1. Installing Elm Platform.

You can download the latest package from here.

OR

  1. Mac Installer
  2. Windows Installer
  3. 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.

  1. Atom
  2. Emacs
  3. Sublime Text
  4. Vim

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

  1. guide.elm-lang.org
  2. elmcast.io
  3. elm-lang.org

This article originally appeared on lightrains.com

Leave a comment

To make a comment, please send an e-mail using the button below. Your e-mail address won't be shared and will be deleted from our records after the comment is published. If you don't want your real name to be credited alongside your comment, please specify the name you would like to use. If you would like your name to link to a specific URL, please share that as well. Thank you.

Comment via email

Share this article

Topic

More on Engineering Insights

Tools, languages and practices from the Lightrains team, and how offshore engineering teams work.

Written by

Nikhil M

Managing Director

Entrepreneur / Privacy Freak / Humanist / Blockchain / AI / Digital Security / Online Privacy

Keep reading

Ready to build your next AI product?

Get a free consultation and project quote for AI, software or product development, tailored to your goals.

  • No-obligation consultation
  • Clear scope and timeline
  • Transparent pricing
Get your free project quote