Hacker News new | ask | show | jobs
by mjaniczek 3247 days ago
Simple: writing code in Elm is compiler-driven development. As the article said:

> Just start by changing your type definition and the compiler errors will help you find everywhere that needs updating.

This is how most of Elm development gets done. I change the types and let the compiler tell me what actual code needs changing.

Clojurescript, on the other hand, doesn't have this "assistant", unless you're using Typed Clojure or Schema (it's been a year or two since I tried that, so can't speak from current experience).

The Elm Architecture is worth pursuing even in dynamically typed languages though :)