4 ms·
A possible counter point to the dislike of comprehension, depending on why you don't like them: https://www.mitchellhanberg.com/the-comprehensive-guide-to-elix
by Alacart 3y ago
A possible counter point to the dislike of comprehension, depending on why you don't like them:
https://www.mitchellhanberg.com/the-comprehensive-guide-to-elixirs-for-comprehension https://www.mitchellhanberg.com/the-comprehensive-guide-to-e...
I discovered a lot of things in this post that made me see them as much more valuable than I'd originally thought.
- mcintyre1994 3y agoBitstring parsing examples using Elixir comprehensions always seem so much nicer than anything I’ve seen anywhere else. I need to play with Nerves to have an excuse to learn them properly!
- davydog187 3y agoI recently wrote a binary protocol in C and Elixir. The Elixir implementation was so much simpler and 1/3 of the code, and has better error messages
- mcintyre1994 3y agoThat’s not open source by any chance is it? I’d be really curious to see the comparison!
- davydog187 3y agoIts for our proprietary product, but maybe I’ll consider writing a blog post on how they compare