Skip to Content
Why Elm?
book

Why Elm?

by Matthew Griffith
May 2017
Intermediate to advanced
49 pages
1h 2m
English
O'Reilly Media, Inc.
Content preview from Why Elm?

Chapter 1. Why Elm?

Elm is a functional language that compiles to JavaScript and is specifically for designing the frontend of your web app. One of the main design goals of Elm is to incorporate some of the advances from the last 40 years of programming design (many of which have not made the full transition from academia to common use), and to not require you to learn a bunch of jargon to benefit from those advances. The practical result is that Elm code is fast, hard to break, easily testable, and profoundly maintainable. Above all, Elm is a functional programming language for the practical frontend developer.

This report is meant for developers who are largely familiar with JavaScript and other dynamically typed, imperative languages, but who aren’t quite as familiar with static types or purely functional programming languages. If you’re an established web developer, you might feel a bit overwhelmed by trying to keep track of the recent explosion of frontend technologies—so what makes Elm fundamentally different?

Here’s quick overview of some of Elm’s best features; we’ll cover these topics in more detail later in this report.

Elm eliminates many of the most common pain points of frontend development. That’s because many of the common issues that frontend developers have to deal with just don’t exist in Elm. There is no null and no confounding errors such as undefined is not a function, but that’s just the beginning. Elm really shines when we talk about the higher-level benefits ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

The Joy of JavaScript

The Joy of JavaScript

Luis Atencio
Beginning F# 4.0

Beginning F# 4.0

Robert Pickering, Kit Eason
The Joy of Kotlin

The Joy of Kotlin

Pierre Yves Saumont

Publisher Resources

ISBN: 9781491990728Errata Page