募捐 9月15日2024 – 10月1日2024 关于筹款

Metaprogramming Elixir: Write Less Code, Get More Done (and...

Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!)

Chris McCord
5.0 / 5.0
0 comments
你有多喜欢这本书?
下载文件的质量如何?
下载该书,以评价其质量
下载文件的质量如何?

Write code that writes code with Elixir macros. Macros make metaprogramming possible and define the language itself. In this book, you'll learn how to use macros to extend the language with fast, maintainable code and share functionality in ways you never thought possible. You'll discover how to extend Elixir with your own first-class features, optimize performance, and create domain-specific languages.
Metaprogramming is one of Elixir's greatest features. Maybe you've played with the basics or written a few macros. Now you want to take it to the next level. This book is a guided series of metaprogramming tutorials that take you step by step to metaprogramming mastery. You'll extend Elixir with powerful features and write faster, more maintainable programs in ways unmatched by other languages.
You'll start with the basics of Elixir's metaprogramming system and find out how macros interact with Elixir's abstract format. Then you'll extend Elixir with your own first-class features, write a testing framework, and discover how Elixir treats source code as building blocks, rather than rote lines of instructions. You'll continue your journey by using advanced code generation to create essential libraries in strikingly few lines of code. Finally, you'll create domain-specific languages and learn when and where to apply your skills effectively.
When you're done, you will have mastered metaprogramming, gained insights into Elixir's internals, and have the confidence to leverage macros to their full potential in your own projects.

年:
2015
出版:
1
出版社:
Pragmatic Bookshelf
语言:
english
页:
120
ISBN 10:
1680500414
ISBN 13:
9781680500417
文件:
PDF, 5.29 MB
IPFS:
CID , CID Blake2b
english, 2015
线上阅读
正在转换
转换为 失败

关键词