Issue #12

Reading

In his two-part (part 1, part 2) series Deedo is writing about his experience and getting started with Elm, Parcel, and Tailwind CSS. This is a great intro for beginners, and also if you've never heard of Parcel or Tailwind.

Parcel is being actively developed and has a growing community which makes it a good alternative to Webpack. A while ago one of the projects I was working on used Brunch, but sadly authors discontinued it and we ended up spending lots of time fixing small issues and writing our own plugins for extra functionality. Due to the lack of resources we ended moving to Webpack. Parcel was under consideration, but I was worried that it might also become abandoned. Boy I was wrong. And I'm happy for that.

Ryan Frazier is continuing his writeups about building a calculator in Elm. He explains how to use stack for doing calculations that are slightly more complex than addition of two numbers. This technique is surprisingly simple and I also learned it while creating a toy math language.  Link

Projects

Kolja <razzeee> Lampe has released a new version of the Elm language server  and a corresponding VSCode client. If you're like me and  don't know what a language server is, here's a quick explanation.

A language server is a program that implements the language server protocol. There are lots of different code editors and IDEs: Vim, Emacs, VSCode, Sublime, Intelli J, and others. In order for them to support Elm, developers need to create plugins. Since each editor is like an OS, there are different APIs to implement, different language one can use to write the plugin. And for every editor one needs to re-implement most of the code again and again. Plugins become fat and harder to maintain. Language server protocol solves this by splitting the core out to a single implementation, the server, and a lightweight frontend plugin for each editor.

About 10 years ago when I was studying in the university we had lots of science classes: math, physics, electrical engineer, algebra, and many more. I miss those days and sometimes want to start writing a Math library for Elm just to re-learn those concepts again. A while ago I stumbled upon electric field simulator written entirely in Elm which brought those good old memories from science projects in school and university.

Podcasts

While all of the Elm conferences have been delayed indefinitely or completely cancelled, podcasts do still come out. Elm Town is a regular one.

I also like the Futurice Tech Weekly podcast. Here's an episode explaining how Elm brought better coding patterns to React and Redux programming. You can also check the Futurice YouTube channel for some more interesting content.

Videos

This week Dillon Kearns met with Ryan Haskell-Glatz, author of Elm-SPA. Few months ago I started a hobby project, a webapp for my local ice swimming club to check in and mark the time spent in ice-cold water. My go to resources were Elm Programming and the official Elm Guide. It was a really slow process and when I found out about Elm-SPA I ditched the old code and re-wrote all of the frontend in a matter of few hours. It takes care of the routing, global state, transitions between pages, and much more.

Show Comments