Live data from Hacker News

Joy of Elixir

joyofelixir.com

41–50 of 92 posts

Re: Joy of Elixir

#41

Why is there so much Elixir hype on HN at the moment? HN shouldn't be used as a propaganda hype machine. I've seen all the language hype cycles, Year 1: PHP sucks! Node.js is awesome! Everyone must use Node.js! Year 2: Node.js sucks! Go is awesome! Everyone must use Go! Year 3: Go sucks! Rust is awesome! Everyone must use Rust! Year 4: Rust sucks! Elixir is awesome! Everyone must use Elixir! ... And of course you get…

Yeah it's pretty obvious what's going on...

Re: Joy of Elixir

#42
post #15

Earlier quoted context omitted.

A good youtube channel: https://www.youtube.com/channel/UCFKQ85T69sYhifDHF7dnPgw/vid... Kind of like a quick guide: https://elixirschool.com http://elixirbridge.org/02_Intro_to_Elixir/01-why-program-wh... I think Elixir isn't that hard about syntax. Just start to do something and learn it on the go, see how people do it. I have experience with it, quite nice: https://github.com/yeo/betterdev.link/tree/master/communit…

Wow http://elixirbridge.org seems really interesting! I'm following the official tutorial right now to get the basic down and will go through the book Programming Phoenix

Don't sleep on your Erlang literature: Learn You Some Erlang, Erlang in Anger, Design for Scalability with OTP. Also Little Elixir and OTP Guidebook is pretty short. I haven't read it yet, but Elixir in Action is supposed to be very good, too.

http://learnyousomeerlang.com/

https://www.erlang-in-anger.com/

https://smile.amazon.com/Designing-Scalability-Erlang-OTP-Fa...

https://www.manning.com/books/the-little-elixir-and-otp-guid...

https://www.manning.com/books/elixir-in-action

Re: Joy of Elixir

#43

I've certainly enjoyed Elixir as an nth programming language and the idea of Elixir as a 1st programming language is really interesting. I know I've seen at least one educator in the community speculate that Elixir (or FP languages in general) could potentially make great 1st programming languages because they're often conceptually easier than OOP languages and in many ways the difficulties people associate with lear…

I have first hand experience with this actually...

Over the last 6 months or so a good friend of mine has learned to code from scratch. After much deliberation I took a gamble and set him up with Elixir as his first language (largely because he wanted to code so he can work with me on some projects, which use Elixir).

I am really happy with this choice and so is he. Elixir is a language with very consistent ideas throughout and I think concepts like functional transformations, immutability, pattern matching and actor based concurrency are both extremely useful to learn early and very accessible to beginners in Elixir.

Edit:

I didn't think of it when I wrote this comment, but I think the single most helpful thing for beginners (and me!) in Elixir, is the 'h' function. If you run it with any function as an argument in iex (Elixir's repl) you'll get documentation and an example of how to use that function:

  iex(2)> h Enum.map

                              def map(enumerable, fun)

  Returns a list where each item is the result of invoking fun on each
  corresponding item of enumerable.

  For maps, the function expects a key-value tuple.

  ## Examples

      iex> Enum.map([1, 2, 3], fn(x) -> x * 2 end)
      [2, 4, 6]

      iex> Enum.map([a: 1, b: 2], fn({k, v}) -> {k, -v} end)
      [a: -1, b: -2]

Re: Joy of Elixir

#44
post #40
post #29

While I applaud creating documentation, books, and guides for those new to the language, there's still a significant accessibility gap in resources. I already know the language, I've already done some basic stuff in phoenix, I've even made my own HTTP API wrapper as its own library. But when it comes to architecting backend systems that aren't tied to phoenix or playing around with IEx, I really feel like I am on my…

I feel that Erlang adoption is probably the most realistic growth path for most serious Elixir developers. All of these topics you mentioned (breakers, message routing, etc) have been discussed and developed in the Erlang community for years. The only new thing that Elixir brings to the table in these areas is abstraction and syntax - both of which are arguably not needed in large complex systems. Source: full-time E…

I told myself I'd avoid Erlang at all costs. Then I decided I needed to know how leex and yecc work, so I got down and dirty w/ Erlang. It's close enough to Elixir that I can stumble through my way through it.

Re: Joy of Elixir

#46

I've certainly enjoyed Elixir as an nth programming language and the idea of Elixir as a 1st programming language is really interesting. I know I've seen at least one educator in the community speculate that Elixir (or FP languages in general) could potentially make great 1st programming languages because they're often conceptually easier than OOP languages and in many ways the difficulties people associate with lear…

I have first hand experience with this actually... Over the last 6 months or so a good friend of mine has learned to code from scratch. After much deliberation I took a gamble and set him up with Elixir as his first language (largely because he wanted to code so he can work with me on some projects, which use Elixir). I am really happy with this choice and so is he. Elixir is a language with very consistent ideas thr…

Python has the same via help(thing)

Re: Joy of Elixir

#47
post #29

While I applaud creating documentation, books, and guides for those new to the language, there's still a significant accessibility gap in resources. I already know the language, I've already done some basic stuff in phoenix, I've even made my own HTTP API wrapper as its own library. But when it comes to architecting backend systems that aren't tied to phoenix or playing around with IEx, I really feel like I am on my…

Definitely recommend reading "The Little Elixir & OTP Guidebook"

The focus of the book sounds like pretty much what you're asking for. The first few chapters cover Elixir basics, but its really just a primer -- easily skippable if you already know it. Starts with implementing OTP features from scratch so you can see what they do and why they exist, then dives into how to do it using OTP.

Re: Joy of Elixir

#48
post #29

While I applaud creating documentation, books, and guides for those new to the language, there's still a significant accessibility gap in resources. I already know the language, I've already done some basic stuff in phoenix, I've even made my own HTTP API wrapper as its own library. But when it comes to architecting backend systems that aren't tied to phoenix or playing around with IEx, I really feel like I am on my…

[deleted]

Re: Joy of Elixir

#50
post #21

Earlier quoted context omitted.

Ryan Bigg (github: https://github.com/radar ) has been active in the Ruby community for years (and is seriously intelligent, at least based on his many past IRC responses to my Ruby questions, assuming he's also named Radar on there), has apparently been working with Elixir on the side for a while, and IMHO can definitely handle an Elixir book intended for new programmers. He would be a very significant asset to the…

If being active in the community means brown nosing on irc then sure, they have been super active. IMHO someone which actually contributes high quality libraries or code to said community should be valued more, yet these are usually the last people you would ever see slapping their name on a book. They are happy to just improve the existing documentation and contribute that way. Then of course you have the ilk of peo…

I've met him IRL and benefited from his tireless OSS leadership as a communicator and a code. Ryan is the real deal.
Post reply on HN