3 ms·
I really like Elixir. We’re a small team of a few. We work with series of timespans a lot in our domain (ag tech irrigation automation), and I needed to write
by travisgriggs 1y ago
I really like Elixir. We’re a small team of a few.
We work with series of timespans a lot in our domain (ag tech irrigation automation), and I needed to write an algorithm that creates the time based “diff” comparison between two or more span series.
I’ve written this code a few times already in Swift (iOS app), Kotlin (Android app), and Python (firmware). Loop based and tricky around the edge cases.
Doing it in Elixir with pattern based recursion was a pure joy. Every single test past the first time I ran it.
I don’t love the Elixir syntax (it’s noise to signal ratio isn’t as good as say, Python); I don’t love the lack of a good IDE experience that really leverages Elixirs model. But I do love the mental computation model of Elixir, and the very simple set of rules, vs some of the other languages I have to work in.