《Elixir 元编程》封面

Elixir 元编程

Metaprogramming Elixir

Chris McCord · 初版 2015 年

3人推荐
4位读者提及
4次提及

Hacker News 上怎么说

  • ……懂得怎么写它们是件好事。我通常用宏来写表现力更强的 guard clauses,但你想拿它干啥都行。如果想深入了解,Chris McCord 写过一本很棒的讲宏的书,叫《Metaprogramming Elixir》。

    …knowing how to write them is a good thing. I typically use macros to write more expressive guard clauses, but you can do whatever you want with them. Chris McCord wrote an excellent book on macros, called Metaprogramming Elixir, if you want to know more about them.

  • 你现在去搞元编程还为时过早。它的规则确实很简单,但深入玩宏之前,建议还是先对这门语言足够熟练。你或许可以去读读 Chris McCord 的《Metaprogramming Elixir》,作者本人也是 Phoenix 的创作者之一。

    It’s too early for you to try metaprogramming. It has very simple rules but proficiency with the language is advised when diving into macros. You might want to read Chris McCord’s “Metaprogramming Elixir”. The author is also one of Phoenix’s authors.

  • Phoenix 的作者 Chris McCord 写过一本非常棒的讲 Elixir 元编程的书:https://pragprog.com/book/cmelixir/metaprogramming-elixir

    Phoenix's author Chris McCord wrote an excellent book on metaprogramming in Elixir: https://pragprog.com/book/cmelixir/metaprogramming-elixir

  • ……http://elixir-lang.org/getting-started/sigils.html 当然,宏机制几乎可以说是 Ruby 经常吹嘘的“元编程”的终极体现了。实际上 Chris McCord 已经出了一本相关的书:http://smile.amazon.com/Metaprogramming-Elixir-Write-Less-Co...

    …http://elixir-lang.org/getting-started/sigils.html And of course the macro facility is pretty much the ultimate definition of Ruby's oft-touted "metaprogramming." Chris McCord already has a book out on it, actually: http://smile.amazon.com/Metaprogramming-Elixir-Write-Less-Co...

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助