TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Learning Elixir: My side-project

119 点作者 adrip将近 8 年前

8 条评论

bglusman将近 8 年前
This looks awesome! It&#x27;s also a kind of perfect companion piece to an Elixir&#x2F;Phoenix project a friend of mine, Travis, did over at Stride[1].<p>I also have my own social-good oriented learning-phoenix&#x2F;ecto project[2], OpenPantry, which I started some months ago after I&#x27;d learned Elixir pretty well and done a little Phoenix micro-service, but still hadn&#x27;t done anything full stack or involving Ecto or Channels... We&#x27;re actively looking for help building out the feature set and it&#x27;s for a great cause if anyone&#x27;s interested, helping those with food-insecurity to get food more easily and with more choice than many pantry programs are currently able to provide!<p>[1]<a href="https:&#x2F;&#x2F;github.com&#x2F;stride-nyc&#x2F;remote_retro" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stride-nyc&#x2F;remote_retro</a> [2]<a href="https:&#x2F;&#x2F;github.com&#x2F;MasbiaSoupKitchenNetwork&#x2F;open_pantry" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;MasbiaSoupKitchenNetwork&#x2F;open_pantry</a>
tmat将近 8 年前
I think what I learned the most about my past year of working heavily in Elixir is this.. Don&#x27;t learn elixir.. learn Erlang&#x2F;OTP if you really want to harness the power of Elixir. Elixir is nothing but a series of macros which give erlang some convenience and better syntax.<p>If you learn to harness the power of Erlang, while writing it in Elixir, then you will see the beauty of it. Get away from Phoenix as fast as possible. Seriously it will do you wonders. It&#x27;s so unnecessary and cumbersome.<p>OTP, OTP, OTP.. can&#x27;t say it enough.
评论 #14714265 未加载
评论 #14714805 未加载
评论 #14714198 未加载
评论 #14713390 未加载
jamesroseman将近 8 年前
I had a brief stint of working with Elixir a while ago, and got side-tracked and spent that time going down the GraphQL&#x2F;Relay rabbit hole instead. During that time I was ramping up to help out on the GraphQL Elixir project [1]. I don&#x27;t know its current state, but it might be worth looking into vs Absinthe (which I&#x27;m pretty sure was branched off that project originally).<p>EDIT: Looks like the repo is pretty abandoned actually, scratch that!<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;graphql-elixir&#x2F;graphql" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;graphql-elixir&#x2F;graphql</a>
评论 #14710764 未加载
blindwatchmaker将近 8 年前
Picking up new languages is fun.<p>I have to say things like this tickle my funny bone though:<p>&gt; def backlog(board_id) when is_integer(board_id) do<p>What happened to good old fashioned function foo (int bar) :)<p>Is there an equivalent to typescript for elixir?
评论 #14710785 未加载
评论 #14710782 未加载
评论 #14711060 未加载
评论 #14710739 未加载
评论 #14712043 未加载
评论 #14712280 未加载
评论 #14712720 未加载
eggy将近 8 年前
I picked up Elixir and LFE (Lisp Flavoured Erlang) at the same time. I prefer Lisps, and so I stuck with LFE, so my knowledge of the current state and capabilities of Elixir is lacking. Robert Virding who co-created Erlang, created LFE. He responded to Jose Valim in 2013 in a LFE vs Elixir thread [1].<p>I was accused of spreading misinformation when I made the same point recently on HN in another Elixir thread [2].<p>So my question is: Does Robert Virding&#x27;s point still hold about Elixir&#x27;s macros only able to use its predefined syntax, and not create new syntax like a Lisp can. I like Elixir, I just prefer Lisp&#x27;s syntax. However, if Elixir is making these type of improvements I may want to revisit it, and to ensure I am not repeating old, incorrect information.<p>Robert Virding uses this example (look at the thread for context):<p>&gt;&gt; (defmacro kl &gt;&gt; ((list* k v rest) `(cons (tuple &#x27;,k ,v) (kl ,@rest))) &gt;&gt; (() ()))<p>&gt;&gt; which I can use<p>&gt;&gt; (kl a (+ 2 7) b 6) ==&gt; (#(a 9) #(b 6))<p>Can Elixir do this or not?<p>Thanks!<p><pre><code> [1] https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!topic&#x2F;lisp-flavoured-erlang&#x2F;ensAkzcEDQQ [2] https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=14390916</code></pre>
评论 #14731512 未加载
ponyous将近 8 年前
I&#x27;ve been learning elixir for past 10 months and will be releasing a project to the public hopefully by the end of the month. Is anyone interested in any specific topics? I plan to write an accompanying blog post when I release.<p>Stack: Elixir, RethinkDB, Inferno (react alternative) + Redux (The goal when I started was to learn new things, hence the unusual stack)
评论 #14711509 未加载
richjdsmith将近 8 年前
Elixir was my Koolaid when it comes to functional programming. After getting the hang of pattern matching, I was hooked. Everything I&#x27;d do on Ruby&#x2F;Rails, I just do on Elixir&#x2F;Phoenix instead.
评论 #14712707 未加载
jesses将近 8 年前
Thanks for the write-up. Have you thought about using gigalixir.com instead of Heroku?
评论 #14713766 未加载