Lessons Learned: Avoiding Primitives in Elm

Switching from primitive types to product types can improve confidence in correctness and compiler errors, but not without a cost.

Similar

Let’s make a GraphQL client in Elm

I’m a big fan of GraphQL and I’d like to explore how to use it in Elm. With a statically typed language (like Elm) we should be able to achieve very nice things, such as using a DSL to write queries and determine their correctness at compile time. We’ll i... (more…)

Read more »

Why I’m Stepping Away from Elm

UPDATE: adding a sentence for clarity after feedback from someone: I don’t think the issue is kernel code. I think the issue is that the Web platform support is small currently, and there’s a large barrier for community contribution to it, and this causes... (more…)

Read more »

Elm at NoRedInk

At NoRedInk we have one of the largest Elm apps in the world. It serves millions of teachers and students, and our frontend code is almost exclusively written in Elm. In this post, we will explore the structure of our codebase and the patterns that we use... (more…)

Read more »