TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Elixir 1.3.1 released

299 pointsby edddalmost 9 years ago

8 comments

rpazyaquianalmost 9 years ago
So, I know that Elixir is powerful and good at functional programming. The one thing I can&#x27;t quite understand is <i>why</i> we would want to program everything as a composition of individual programs and applications, with supervisors and application trees and message passing and the like. It seems like a lot of overhead to accomplish something. Making everything asynchronous and detached makes things more complicated, not less.<p>I hear a lot about OTP and the &quot;let it crash&quot; mantra, but I just don&#x27;t quite understand what&#x27;s so great about it. Maybe it&#x27;s just due to my problem domain (web development), but it doesn&#x27;t seem like as big a draw to Elixir and Erlang as pattern matching and FP are.
评论 #12071375 未加载
评论 #12072879 未加载
评论 #12071440 未加载
评论 #12072583 未加载
评论 #12071546 未加载
评论 #12072128 未加载
评论 #12071432 未加载
评论 #12071962 未加载
评论 #12071168 未加载
评论 #12071164 未加载
评论 #12073090 未加载
评论 #12071303 未加载
评论 #12071117 未加载
评论 #12072041 未加载
评论 #12074425 未加载
评论 #12071894 未加载
评论 #12073040 未加载
jswnyalmost 9 years ago
Seems like this is mostly a bug fixing release. Solid stuff nonetheless. I recently learned Elixir and even though I came from an object oriented and imperative language background, I&#x27;ve fallen in love with the language. Switching back to others like JavaScript really leave me missing so many of the functional features, especially pattern matching. I think I&#x27;ve been spoiled.
评论 #12071005 未加载
themgtalmost 9 years ago
What makes Elixir a sort of &quot;perfect storm&quot; is the combination of a battle-tested, corporate funded, philosophically correct language model and VM (Erlang&#x2F;BEAM&#x2F;OTP) combined with a syntax (Elixir) that&#x27;s both beautiful and comprehensible to an average programmer.<p>Even if you loved Erlang, I&#x27;d argue the language is just too esoteric and jarring to most programmers to ever gain serious traction. I remember reading about Erlang&#x27;s magic back in ~2007 (maybe [1]) and giving it a brief shot but deciding there was no way I wanted to look at that kind of code 8 hours a day. But coming from writing fairly FP-style Ruby&#x2F;CoffeeScript&#x2F;ES6-7, Elixir is feels only a step or two more down that path - in many ways actually conceptually simpler - and with enormous benefits.<p>[1] <a href="https:&#x2F;&#x2F;pragprog.com&#x2F;articles&#x2F;erlang" rel="nofollow">https:&#x2F;&#x2F;pragprog.com&#x2F;articles&#x2F;erlang</a>
评论 #12072974 未加载
nilknalmost 9 years ago
Can someone explain why I should use Elixir instead of Erlang? I haven&#x27;t used either, but from a very high level it seems that Elixir has a &quot;magic&quot; syntax like Ruby, where as much as possible is hidden from the user, whereas Erlang has a much clearer and more concrete syntax. Even though Erlang&#x27;s syntax is not standard or traditional, as someone who&#x27;s used neither neither language, I find it much easier to read and understand exactly what&#x27;s happening.
评论 #12072336 未加载
评论 #12073165 未加载
评论 #12072371 未加载
评论 #12072431 未加载
评论 #12072763 未加载
评论 #12072598 未加载
firasdalmost 9 years ago
Good stuff. I&#x27;ve started using Elixir and Phoenix in a new project (I wanted concurrency for making a lot of HTTP calls) and while functional programming does take getting used to (you can not write something like a counter that increments itself in a loop) it&#x27;s been relatively easy to pick up. Compared to learning Node.js, it&#x27;s been a more relaxed and productive experience (although maybe I&#x27;m not making a fair comparison because I&#x27;ve implemented way more things in Node that I have yet to try in Elixir.)
评论 #12070802 未加载
评论 #12070895 未加载
评论 #12075926 未加载
anonymousguyalmost 9 years ago
We have been looking for an Elixir code beautifier. If you are aware of one please let us know: <a href="https:&#x2F;&#x2F;github.com&#x2F;Glavin001&#x2F;atom-beautify&#x2F;issues&#x2F;545" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Glavin001&#x2F;atom-beautify&#x2F;issues&#x2F;545</a>
评论 #12076591 未加载
评论 #12075847 未加载
vfclistsalmost 9 years ago
Why are redditors and ycombinators so annoying? A new version has been released and instead of discussing what is important and notable about this new release,you all go off on a tangent discussing the pros and cons of Elixir.<p>Why don&#x27;t you guys take the discussion elsewhere so that interested readers can focus on what is new and relevant about this release? The subject of the post is about a new release,not about people showing of their knowledge and opinions about computer programming and languages etc.<p>It just makes this forums intolerable especially those which are about new releases new products etc.
评论 #12075330 未加载
dingleberryalmost 9 years ago
having to put &#x27;end&#x27; leaves bad taste, which is why i stopped learning ruby.<p>i learned lisp instead and now i&#x27;m learning lfe (lisp flavored erlang)<p>do i miss something by not learning elixir?
评论 #12071327 未加载
评论 #12071664 未加载