Discussion

Ask HN: An Acceptable Erlang

I've been experimenting with Erlang, and it's perhaps the most frustrating language I've ever worked with. I've mostly been using Learn You An Erlang, and switching to Programming Erlang when I need more background.

I am fully on-board with the async, share-nothing, message-passing, "let it crash" paradigm. I think it's inspired, and I'd really like to build some applications in it. Except for the fact that the syntax completely mangles my mind. I can't seem to understand it at all. Given a code snippet, my guess for the correct statement ending is a total shot in the dark. Comma, semicolon, period? No idea. I can't imagine I'll ever be able to build something with any real functionality, apart from passing messages from one place to another.

I know this is the sort of question that will raise the ire of most aficionados, but is there an "acceptable Erlang"? Something you can write day-to-day, but get close to the same programming paradigm? I've seen Akka on Scala, but that looks like it's going to be really heavy. Node.js, AFAIK, is async, but the fault-tolerant bits aren't there. Stackless Python or Twisted don't seem to be very similar.

Any ideas?

28 points Lewisham 15 years ago 31 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton