December 19, 2014
Around this time of year I tend to go looking for something new to learn in the spare moments between holiday activities. It's a way of stepping back and getting a different perspective. This year the Elm language caught my eye. So on a whim one afternoon I cracked open the laptop and starting writing some Elm code, not really expecting my interest to outlast a log on the fire.
Well, it's been a week now and I'm still having fun goofing with Elm. Turns out this journey has been an unexpected gateway into functional programming, but with a graphical twist. I think the graphical part has been the key for me. That or the steady intake of sweets that keep finding their way to my desk. In any event, the whole experience has been so enjoyable and enlightening that I couldn't help but share.
If you've been wanting to try FP, I'd encourage you to give Elm a whirl! Here's how I got started...
The easiest way to get started with a quick win is by using the interactive online editor. Here's every newbie's favorite first program, Elm style: