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 7. So, Why Elm?

You may think I sound like a broken record, but here are the explicit benefits Elm can provide you:

  • No runtime exceptions in practice

  • Beautiful compile-time errors

  • Enforced semantic versioning for Elm packages

  • A refactoring experience that makes you feel invincible because it’s so easy and robust

  • Language-wide optimization of external effects, which results in strong performance and best practices built into the language

  • A litany of well-designed devoloper tools

Elm provides these benefits as a part of the language and the ecosystem. Most of them are built into every Elm project, so you don’t need to turn them on or track down some specific technique in the documentation. You can get some, but not all, of these benefits in a JavaScript project if you know the right concepts and are willing to work hard. But Elm takes care of these things for you. Because these features are built into the language, the entire Elm ecosystem benefits from them. This means you can have high confidence in third-party Elm code.

The learning curve for Elm is short even though parts of the language may feel foreign. Beginners and experienced web developers alike should have no trouble getting started. This is especially the case if you engage with the community on the Elm Slack channel or the Elm subreddit.

If you want to give Elm a test drive, you can adopt it incrementally alongside existing technologies. You don’t need to make a large commitment to try it out in ...

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