Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Give Elm a Chance! (that conference)

Joel Clermont
August 08, 2017
260

Give Elm a Chance! (that conference)

Joel Clermont

August 08, 2017
Tweet

Transcript

  1. What to expect What makes Elm useful and interesting? •

    Code that doesn’t crash • A powerful type system • Ecosystem: quality over quantity • Care-free refactoring • Amazing QA / debug experience
  2. No runtime exceptions • Hooray, no bugs! Not quite. •

    Runtime exceptions are a common class of bugs
  3. No runtime exceptions • Hooray, no bugs! Not quite. •

    Runtime exceptions are a common class of bugs • “undefined is not a function”
  4. No Red Ink’s testimonial Since we began using Elm in

    2015, our production Elm code has yet to cause a single runtime exception. Our error logs show plenty of crashes from our legacy JavaScript code, but none from our Elm code. We've also found our Elm-powered front-end substantially easier to scale than our previous React code base.
  5. The power of the type system • PHP’s type system

    is getting better, but still basic • C# and Java? Better yet, but not very expressive • ML type system
  6. Refactoring • refactoring can be scary on larger projects, even

    with tests • First few times, I thought it couldn’t possibly be that easy in Elm • Move things around, get everything to compile, done
  7. Elm ecosystem • Package manager enforces semantic versioning • API

    design is extremely thoughtful • Awesome tooling!
  8. My final sales pitch • Welcoming community • Lots of

    effort to making concepts accessible • Easy to use it gradually • Will make you a better JavaScript developer • Developing with Elm is fun!