News for hackers. Stuff that matters.
Re:Lisp Flavored Erlang by MCRed on Sunday January 25, 2015 @05:28PM (#8944503)
To be honest, I left FP for a long time after learning lisp, and erlang is what brought me back.

The erlang syntactic is really quite good. IT's new, yes, it's not lisp, it's not C, you have to learn a new syntax. Get over yourself, it's not that hard.

And once you learn it, it's nice and consistent and comprehinsible.

But elixir is even better. Elixir brings a lot of great features to erlang, while retaining interoperability, and one of the things about elixir is its syntax is much nicer (in my opinion) and it's certainly more accessible to most people.

Learn elixir.

Re:Lisp Flavored Erlang by moron4hire on Sunday January 25, 2015 @05:37PM (#8944533)
>> Get over yourself, it's not that hard.

I've been thinking about getting this printed on stickers and handing them out at tech meetups.

Re:Lisp Flavored Erlang by Singletoned on Monday January 26, 2015 @08:24AM (#8946853)
Or you could get ones that say "It was easy for me, so it should be easy for everyone"
Re:Lisp Flavored Erlang by proveanegative on Sunday January 25, 2015 @05:37PM (#8944534)
Do you already use Elixir in production? Please tell us a little bit about it if you do.
Re:Lisp Flavored Erlang by benwilson513 on Monday January 26, 2015 @09:07AM (#8947030)
We do at http://cargosense.com/ and it's been an excellent choice. Elixir is totally compatible with existing erlang code, which means we've been able to leverage erlang libraries, OTP supervision practices and so without any trouble at all, while still getting excellent macros, protocols and so forth. I'm a particularly big fan of Elixir's lazy collections called Streams, and the ability to build your own. We've written a library for interacting with DynamoDB and Amazon Kinesis that uses these to handle the pagination of those resources behind the scenes so that when you're using the library you can just treat the resource as an ordinary collection and take as many as you like.

We're using the Phoenix framework http://www.phoenixframework.org/ as a backend for a web app written in Angular, and also as part of a data publication service. Phoenix makes a couple of great design choices influenced by its erlang heritage. Most notably it is really just one of the erlang "applications" you run, so it doesn't dominate or dictate the rest of your project structure. You can easily integrate it as just the web component of an application that has behind the scenes data processing or whatever else it is you'd want to do.

The only gotcha we've run into so far is that a lot of erlang libraries expect strings for configuration text (list of chars) whereas the convention in Elixir is to use binaries.This hasn't resulted in any real issues though, just a perplexed minute from time to time.

If you have any particular questions I'd be happy to try to answer them.

Re:Lisp Flavored Erlang by girvo on Sunday January 25, 2015 @09:18PM (#8945250)
I thought Erlang was quite old?
Re:Lisp Flavored Erlang by ghayes on Monday January 26, 2015 @04:20AM (#8946144)
Erlang dates back to Ericsson's CSLab in 1986. It's explained in good detail in this thesis by Joe Armstrong[0]. From that paper, the first significant production use came in 1995 with the Ericsson AXD301 switch.

[0] http://www.erlang.org/download/armstrong_thesis_2003.pdf

Re:Lisp Flavored Erlang by wcummings on Sunday January 25, 2015 @11:59PM (#8945584)
Older than Perl, Python and Ruby, at least
Re:Lisp Flavored Erlang by rdtsc on Monday January 26, 2015 @12:23AM (#8945633)
It is pretty old and that's what makes it great!