Live data from Hacker News

Metaprogramming Elixir

pragprog.com

1–10 of 24 posts

Re: Metaprogramming Elixir

#3
For anyone looking to learn more about Elixir/Erlang, here's a dump of links that I posted recently to the local Atlanta Elixir Meetup group.

Roughly in the order I'd recommend consuming them.

Dave Thomas - Power of Erlang, Joy of Ruby - https://www.youtube.com/watch?v=lww1aZ-ldz0

Dave Thomas Elixirconf Keynote - Think Different- http://www.confreaks.com/videos/4119-elixirconf2014-opening-...

elixir-lang.org tutorial - http://elixir-lang.org/getting_started/1.html

Programming Elixir - https://pragprog.com/book/elixir/programming-elixir

Awesome Elixir - Curated list of great libraries - https://github.com/h4cc/awesome-elixir

Elixir In Action - http://www.manning.com/juric/

Learn You Some Erlang For Great Good - http://learnyousomeerlang.com/

Erlang and OTP In Action - http://www.manning.com/logan/

I haven't had a chance to read McCords new book, but having read his code and interacted with him a fair bit in #elixir-lang the last few months I can only assume I'll be adding it to the bottom of this list as an important intermediary step to becoming proficient in Elixir along with learning OTP.

Re: Metaprogramming Elixir

#4
I bought the ebook last weekend and I have to say that Chris has done a really great job here. For anyone looking to get deeper into Elixir, this is a great read - can't recommend it enough!

Re: Metaprogramming Elixir

#5
The first rule of Macros is: don't write macros.

However, if you are going to use (and abuse) this powerful feature of Elixir, I can't think of anyone better than Chris McCord to help guide you on your way. Chris' talk on Macros[0] at Erlang Factory last year was not only highly education, but also very entertaining. If that video doesn't convince you, I recommend you take a look at the Phoenix web framework codebase[1]. Chris is an incredibly talented programmer, and an incredibly helpful, and patient guide to those less skilled than he attempting to contribute code to his projects (I know this because he held my hand through getting a pull request merged into Phoenix some months ago when I was still playing with Elixir).

[0] http://vimeo.com/88885763

[1] http://phoenixframework.org

Re: Metaprogramming Elixir

#6
post #3

For anyone looking to learn more about Elixir/Erlang, here's a dump of links that I posted recently to the local Atlanta Elixir Meetup group. Roughly in the order I'd recommend consuming them. Dave Thomas - Power of Erlang, Joy of Ruby - https://www.youtube.com/watch?v=lww1aZ-ldz0 Dave Thomas Elixirconf Keynote - Think Different- http://www.confreaks.com/videos/4119-elixirconf2014-opening-... elixir-lang.org tutorial…

This is a great list. I appreciate this. I have to add that your last entries are really important. Elixir is great, but I'm finding more and more that I have to dig into Erlang to do many, many things, because Elixir doesn't have that many libraries yet. Things like basic hashing have to be done using Erlang, so knowing the Erlang standard library seems to be pretty important right now.

And yea, you're not going very far without digging into OTP, and Martin Logan's book is pretty excellent. Great entry on this list.

Re: Metaprogramming Elixir

#7
I got the book last weekend. Chris has done a wonderful job!

For me, metaprogramming is one of the things that was a deciding factor with Elixir, in addition to all the other functional programming aspects that are part of the language. I'm most definitely not an amazing polyglot with a wide degree of experience with every single functional language out there, but this feature pushed me to invest time to learn Elixir. Metaprogramming has saved me immense time in numerous applications in Ruby. So, I consider it a critical thing to learn.

Of course, after investing time in Elixir you very quickly learn the power of the Erlang VM. Elixir is like a gateway drug! I now have a consistent mix of Erlang and Elixir syntax in the stuff I'm playing around with. One of the chief complaints for people with Erlang is the syntax. Elixir makes the entire proposition of learning Erlang far more appealing...and then you really it is all actually Erlang under the hood!

And, one of the big things that Elixir adds on top of the Erlang VM is metaprogramming. There aren't a lot of great sources out there on the subject. Chris's book is a great addition to the slowly growing Elixir library.

Re: Metaprogramming Elixir

#8
post #6
post #3

For anyone looking to learn more about Elixir/Erlang, here's a dump of links that I posted recently to the local Atlanta Elixir Meetup group. Roughly in the order I'd recommend consuming them. Dave Thomas - Power of Erlang, Joy of Ruby - https://www.youtube.com/watch?v=lww1aZ-ldz0 Dave Thomas Elixirconf Keynote - Think Different- http://www.confreaks.com/videos/4119-elixirconf2014-opening-... elixir-lang.org tutorial…

This is a great list. I appreciate this. I have to add that your last entries are really important. Elixir is great, but I'm finding more and more that I have to dig into Erlang to do many, many things, because Elixir doesn't have that many libraries yet. Things like basic hashing have to be done using Erlang, so knowing the Erlang standard library seems to be pretty important right now. And yea, you're not going ver…

I agree with you so much. I find myself digging into Erlang docs more and more.

That being said, I think there needs to be a communal effort to improve Erlang documentation. It is very terse. One of the points brought up in Garret Smiths talk: https://www.youtube.com/watch?v=3MvKLOecT1I

Re: Metaprogramming Elixir

#9
post #6
post #3

For anyone looking to learn more about Elixir/Erlang, here's a dump of links that I posted recently to the local Atlanta Elixir Meetup group. Roughly in the order I'd recommend consuming them. Dave Thomas - Power of Erlang, Joy of Ruby - https://www.youtube.com/watch?v=lww1aZ-ldz0 Dave Thomas Elixirconf Keynote - Think Different- http://www.confreaks.com/videos/4119-elixirconf2014-opening-... elixir-lang.org tutorial…

This is a great list. I appreciate this. I have to add that your last entries are really important. Elixir is great, but I'm finding more and more that I have to dig into Erlang to do many, many things, because Elixir doesn't have that many libraries yet. Things like basic hashing have to be done using Erlang, so knowing the Erlang standard library seems to be pretty important right now. And yea, you're not going ver…

Agree completely.

For me its all about OTP, thats the difference maker with Elixir/Erlang, without that its just another functional language, with it is an incredibly powerful tool/framework for building impressive distributed fault tolerant systems.

Re: Metaprogramming Elixir

#10
Even coming in with a few years experience in Clojure and having spent time writing macros in Elixir I have found this to be a really worthwhile read (so far).

That said, this should not be your first Elixir book (as Chris points out in the book's introduction). It should be your second, especially if you are interested in writing libraries.

Post reply on HN