…self-evident, and feel much easier to read. * The Pipe Operator( |> ). This effectively lets you simplify code by just passing results from one thing to the next. For example(taken from the excellent "Programming Elixir" by Dave Thomas): $ (1..10) |> Enum.map(&(&1*&1)) |> Enum.filter(&(&1 < 40)) => [1, 4, 9, 16, 25, 36] So there, it takes the 1..10 range, maps the squares of each element to an array, then filters…
……物有所值,但感觉它在深度和广度上都远远比不上 LearnElixir.tv。我还推荐 Benjamin Tan Wei Han 写的《The Little Elixir & OTP Guidebook》以及 Dave Thomas 写的《Programming Elixir》。Elixir School(http://elixirschool.com)是个很棒的在线资源,Hex 文档(https://hexdocs.pm)也清晰条理。最后,《Take Off with Elixir》(https://bigmachine.io/products/take-off-with-elixir/)……
…worth the money, but it didn't feel like it went into nearly the depth and breadth that LearnElixir.tv did. I also recommend the books "The Little Elixir & OTP Guidebook," by Benjamin Tan Wei Han, and "Programming Elixir," by Dave Thomas. Elixir School (http://elixirschool.com) is great online resource, and the Hex docs (https://hexdocs.pm) are clear and well organized. Finally, "Take Off with Elixir" (https://bigmachine.io/products/take-off-with-elixir/)…
如果你刚接触 Elixir,我强烈推荐 Dave Thomas 的书《Programming Elixir》https://pragprog.com/book/elixir/programming-elixir 摘自网站介绍:“你想探索函数式编程,但被那种学院派说教劝退了(别再跟我提 monad 了好吗)。你……
If you're new to Elixir, I highly recommend Dave Thomas' book "Programming Elixir" https://pragprog.com/book/elixir/programming-elixir From the website: "You want to explore functional programming, but are put off by the academic feel (tell me about monads just one more time). You…
试试 Elixir 吧,它跑在 ErlangVM 上,语法漂亮得多,还支持 Lisp 风格的宏进行元编程,同时保留了 erlang 的所有优秀特性。https://pragprog.com/book/elixir/programming-elixir <-- Dave Thomas 的文风极赞。
Try Elixir, it runs on the ErlangVM and has a much nicer syntax, plus metaprogramming through Lisp-style macros, while preserving every feature that makes erlang great. https://pragprog.com/book/elixir/programming-elixir <-- dave thomas has a great writing style.
我强烈推荐 David Thomas 的《Programming Elixir》,我觉得读完它能掌握得非常扎实,而且也是一本极佳的函数式编程整体入门书 https://pragprog.com/book/elixir/programming-elixir
I can highly recommend David Thomas' book Programming Elixir, I found it complete to get a good grip and also a great introduction into functional programming overall https://pragprog.com/book/elixir/programming-elixir
……不言自明,而且读起来轻松多了。* 管道操作符(|>)。这玩意儿简直是简化代码的神器,直接把上一步的结果传给下一步。比如(摘自 Dave Thomas 写的神书《Programming Elixir》):$ (1..10) |> Enum.map(&(&1*&1)) |> Enum.filter(&(&1 < 40)) => [1, 4, 9, 16, 25, 36]。你看,它先拿到 1..10 的范围,把每个元素的平方映射成数组,然后过滤……
…self-evident, and feel much easier to read. * The Pipe Operator( |> ). This effectively lets you simplify code by just passing results from one thing to the next. For example(taken from the excellent "Programming Elixir" by Dave Thomas): $ (1..10) |> Enum.map(&(&1*&1)) |> Enum.filter(&(&1 < 40)) => [1, 4, 9, 16, 25, 36] So there, it takes the 1..10 range, maps the squares of each element to an array, then filters…
……物有所值,但感觉它在深度和广度上都远远比不上 LearnElixir.tv。我还推荐 Benjamin Tan Wei Han 写的《The Little Elixir & OTP Guidebook》以及 Dave Thomas 写的《Programming Elixir》。Elixir School(http://elixirschool.com)是个很棒的在线资源,Hex 文档(https://hexdocs.pm)也清晰条理。最后,《Take Off with Elixir》(https://bigmachine.io/products/take-off-with-elixir/)……
…worth the money, but it didn't feel like it went into nearly the depth and breadth that LearnElixir.tv did. I also recommend the books "The Little Elixir & OTP Guidebook," by Benjamin Tan Wei Han, and "Programming Elixir," by Dave Thomas. Elixir School (http://elixirschool.com) is great online resource, and the Hex docs (https://hexdocs.pm) are clear and well organized. Finally, "Take Off with Elixir" (https://bigmachine.io/products/take-off-with-elixir/)…
如果你刚接触 Elixir,我强烈推荐 Dave Thomas 的书《Programming Elixir》https://pragprog.com/book/elixir/programming-elixir 摘自网站介绍:“你想探索函数式编程,但被那种学院派说教劝退了(别再跟我提 monad 了好吗)。你……
If you're new to Elixir, I highly recommend Dave Thomas' book "Programming Elixir" https://pragprog.com/book/elixir/programming-elixir From the website: "You want to explore functional programming, but are put off by the academic feel (tell me about monads just one more time). You…
太喜欢了!如果你刚入门,Dave Thomas 写的《Programming Elixir 1.3》绝对是必读之作。
I love it! Dave Thomas' Programming Elixir 1.3 is the book to get if you're just starting out.
试试 Elixir 吧,它跑在 ErlangVM 上,语法漂亮得多,还支持 Lisp 风格的宏进行元编程,同时保留了 erlang 的所有优秀特性。https://pragprog.com/book/elixir/programming-elixir <-- Dave Thomas 的文风极赞。
Try Elixir, it runs on the ErlangVM and has a much nicer syntax, plus metaprogramming through Lisp-style macros, while preserving every feature that makes erlang great. https://pragprog.com/book/elixir/programming-elixir <-- dave thomas has a great writing style.
我强烈推荐 David Thomas 的《Programming Elixir》,我觉得读完它能掌握得非常扎实,而且也是一本极佳的函数式编程整体入门书 https://pragprog.com/book/elixir/programming-elixir
I can highly recommend David Thomas' book Programming Elixir, I found it complete to get a good grip and also a great introduction into functional programming overall https://pragprog.com/book/elixir/programming-elixir