Chapter 3Elm

by Bruce Tate

Every day, we programmers make easy things hard. Many of us have coded business applications in C++ and Java, barely pausing to believe that there might be a better language for the job. I’m reminded of the sheep dogs in Babe—my daughter’s favorite movie—that frightened sheep into their pens with amazing acrobatics until Babe came along and just talked them in.

JavaScript has been an enigma in the browser. In some ways, it has given us more than we expected. The embattled language provides behavior far beyond HTML markup, and it is just about universally deployable. But in the end, JavaScript is still just JavaScript. There’s no module system; it suffers from weak typing; it is conflicted and inconsistent. You probably ...

Get Seven More Languages in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.