The best way to learn a language for me is to actually build a supporting library or package or gem. I’m looking for rewrite my Gophers application in Elixir and so far I haven’t really found a nice end-to-end write up of how a package is written in Elixir.
Sure, I can find how to write a loop, or how pipes work - but a more complete example would be priceless!
Even a very scoped, small packages on Github would be good enough for learning purposes, but being new to Elixir I’m not sure what’s a good example. Obviously looking at Phoenix’s code is not a good idea just like looking at Rails to learn Ruby is not a good idea.
Here’s a magic-8ball tutorial I saw last year which publishes to Hex. A quick google search turns up a few more hex publishing tutorials but in essence they are all identical. Create account -> create config -> publish.
There’s this one too but unlike the magic 8ball it doesn’t actually do anything of note. Still it gives you another example of a mix.exs file to eyeball.