Issue #37

It's not often that something fundamental gets updated (not talking about Elm this time). This week saw the release of updated elm-test with some changes. As a result it got lighter, quieter, and faster.

The great guys Dillon and Jeroen from Elm Radio Podcast have released a new episode: Impossible States. They did an amazing job "eli5'ing" (explain like I'm 5) what is the problem (you cannot test for infinitely large number of impossible states), how it affects and improves your API design. You have a lot of references to learn more about the topic on the episode page, including the talk by Richard Feldman "Make impossible states impossible". I would also add another great talk Solving the Boolean Identity Crisis by Jeremy Fairbank who touches similar problems.

Elm has so many useful features and patterns that people who are familiar with it but cannot use it, borrow some of these features and port to their own environment. For example, like Redux that was partly inspired by Elm's Architecture. And here is another interesting example: ts.data.json which is a TypeScript library that uses JSON decoders in a similar way to Elm. In this blog post Juan explains how it works. There is also a video from the recent Angular JS conference showing how to use it with the framework:

Using Elm's JSON decoders in Angular

Elm Architecture can lead you to interesting things, like applying the concept to the console program. When I saw this article mention ncurses, a C library for creating text-based UI, a lot of fond memories from my university era came flooding me. One of these memories was using spooling for mp3 playback. A true definition of hacking. We saw this on an OpenBSD hackathon, then read Patrick's notes on the topic, and tried to port it back to OpenBSD.

James Carlson, the author of MiniLatex Elm app, has prepared some resources for people trying to get familiar with the language. It gives a quick and simple overview of the language, what's possible with that, and good examples with source code.

While somewhat off-topic, but I found it very interesting to watch the talk by Robert Martin called The Future Of Programming Languages. It's long, it's very long compared to the byte-sized content we're all used to, but it's well worth it. Rob is very charismatic and presents the topic with so much charm that I was hooked to the screen for the entire time and learned a lot. It gives you a perspective on where it all started, and how things evolved over time, to finally what the future might hold. Most of the content in this issue was about having Elm concepts ported to other languages, and this talk explores just that.

Quote of the week

This week's Elm newsletter turned out to be mostly not about Elm, so I thought I'd finish this week with a quote that is not really a quote:

If you're a company and need your api testing, order $500 worth of pizza and call it a hackathon. job done.

By I am devloper.

Show Comments