[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]

λ - programming

/lam/bda /lam/bda duck
Name
Email
Subject
Comment
File
Password (For file deletion.)

BUY LAINCHAN STICKERS HERE

STREAM » LainTV « STREAM

[Return][Go to bottom]

File: 1445289044946.png (75.79 KB, 800x600, elixir-vertical.png) ImgOps iqdb

 No.10736

who /elixir/ here?
>>

 No.10741

It's on my TODO list to try it out

>>

 No.10759

Why is everyone talking about Elixir lately? In the last day or two I've seen several articles about Elixir, and most of them were shitting on Go.

I took a look at Elixir, but the syntax seemed really awful. I wasn't able to recognize guards or pattern-matching at a glance like I might in Haskell

>>

 No.10760

>>10759
It's been hip for at least

>>

 No.10761

>>10760
... two years now.

>>10741
Same here. I'm not really keen, though, as I don't have any real use for it and I haven't tried Erlang yet.

>>

 No.10774

>>10759
I think people like Elixir because it looks like Ruby but it performs really well and makes concurrency and distributed systems super easy.

Also, a lot of the "top Rubyists" are moving to it. Actually the creator of the language is a core Rails team member and a famous Ruby programmer. That at least garners some hype.

It is also a functional language, and in the last few years functional programming has become very popular again.

The syntax I guess it's a preference thing. I personally like it.

>>

 No.10811

>>10736
Erlang Strong

>>

 No.10813

I'm surprised there's no reference documentation for the language itself, it only provides docs for the libraries and tooling

>>

 No.10822

Are there any advantages to using Elixir over Erlang? If not, why would I prefer it to that?


>>

 No.10882

I started learning Elixir about 4 month ago and just wrote some little programs in it. Honestly I think it's a nice language and could be really, really good for web$foo with frameworks like Phoenix.
I was looking for a strict functional language which isn't Haskell and that's exactly what I got. It's at least worth a try.

>>

 No.10884

>>10882
It's really good for web stuff. I am currently using a Slack-like app written in it and it handles a lot of users in one channel perfectly without slowing down the browser or even making it use more battery.

Of course, you can never predict which language will blow up, but if you already are comfortable with a popular language then I suggest giving Elixir a try, it might pay off and it's fun.

>>

 No.10888

It seems like it's erlang for humans. I'm not sure how I feel about the way it seems to be pretending to not be functional in some places (such as having variables be immutable, but you can create a new variable with the same name, if I understand it correctly). I've had a bit of a play around with it (writing a gopher server).

I think I'm going to try to tackle learning erlang first, so I understand what it's actually abstracting. Has anyone else taken that route?

>>

 No.10889

>>10888
Reusing a variable name doesn't change the value of the old one. If you passed the original variable to a function the value will always be the same. It's more like redeclaring than overwriting.

> writing a gopher server

I like you :3
That's exactly what I planed to do next.

>>

 No.10891

>>10888
I haven't yet, but if I really like Elixir I'll give it a shot.

IMO it is more important to understand the Erlang architecture, OTP, and its concurrency model than the language syntax itself.

A good book like Elixir in Action, which I posted earlier in this thread, does that.

That said, I've heard good things about "Learn You an Erlang".

>>

 No.10892

File: 1445612409742.pdf (5.07 MB, Elixir.pdf)

>>10891
Correction, I did not post it earlier. Here it is.

>>

 No.10894

>>10889
>Reusing a variable name doesn't change the value of the old one. If you passed the original variable to a function the value will always be the same. It's more like redeclaring than overwriting.

Yeah, that makes quite a bit more sense.

>>

 No.10895

>>10892
Thanks, lainon!



Delete Post [ ]
[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]