• Complain

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

Here you can read online Chris McCord - Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!) full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Pragmatic Bookshelf, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Chris McCord Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!)
  • Book:
    Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!)
  • Author:
  • Publisher:
    Pragmatic Bookshelf
  • Genre:
  • Year:
    2015
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

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

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!)" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Write code that writes code with Elixir macros. Macros make metaprogramming possible and define the language itself. In this book, youll learn how to use macros to extend the language with fast, maintainable code and share functionality in ways you never thought possible. Youll discover how to extend Elixir with your own first-class features, optimize performance, and create domain-specific languages.
Metaprogramming is one of Elixirs greatest features. Maybe youve 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. Youll extend Elixir with powerful features and write faster, more maintainable programs in ways unmatched by other languages.
Youll start with the basics of Elixirs metaprogramming system and find out how macros interact with Elixirs abstract format. Then youll 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. Youll continue your journey by using advanced code generation to create essential libraries in strikingly few lines of code. Finally, youll create domain-specific languages and learn when and where to apply your skills effectively.
When youre done, you will have mastered metaprogramming, gained insights into Elixirs internals, and have the confidence to leverage macros to their full potential in your own projects.

Chris McCord: author's other books


Who wrote Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!)? Find out the surname, the name of the author of the book and a list of all author's works by series.

Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!) — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!)" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Metaprogramming Elixir Write Less Code Get More Done and Have Fun by Chris - photo 1
Metaprogramming Elixir
Write Less Code, Get More Done (and Have Fun!)
by Chris McCord
Version: P1.0 (February 2015)
Copyright 2015 The Pragmatic Programmers, LLC. This book is licensed to the individual who purchased it. We don't copy-protect it because that would limit your ability to use it for your own purposes. Please don't break this trustyou can use this across all of your devices but please do not share this copy with other members of your team, with friends, or via file sharing services. Thanks.
Dave & Andy.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC.

Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein.

Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http://pragprog.com.

The team that produced this book includes:
Jacquelyn Carter (editor)
Cathleen Small (copyeditor)
Dave Thomas (typesetter)
Janet Furlow (producer)
Ellie Callahan (support)
For international rights, please contact .
For the Best Reading Experience...

We strongly recommend that you read this book with the publisher defaults setting enabled for your reading device or application. Certain formats and characters may not display correctly without this setting. Please refer to the instructions for your reader on how to enable the publisher defaults setting.

To my lovely wife, Jaclyn.

Table of Contents
Copyright 2015, The Pragmatic Bookshelf.
Early praise for Metaprogramming Elixir

This book is exactly what the young Elixir community needs! Chris McCord does an elegant job of laying out Elixir metaprogramming step by step, with practical and wonderfully instructive examples throughout.

Bruce Tate
President, RapidRed, LLC

Whether youre new to Elixir or a seasoned pro, this compact book will give you the foundation you need to harness the full power of Elixir. A joy to read as it gently walks the reader toward metaprogramming mastery, its a thoughtful and practical guide to metaprogramming youll want to visit again and again.

Matt Sears
CEO Littlelines

Chris is the person to be writing this book; reading his work in open source is how I learned how to use macros. This book filled in the gaps of my understanding and improved my intuition for how Elixir the language works.

Jason Stiebs
Partner, RokkinCat

Metaprogramming Elixir made me want to run out and write code that writes code for me! Great voice and compelling examples!

Zander Hill
Polyglot

Chris has a habit of seeing past the surface of a technology. In Metaprogramming Elixir, Chris demystifies the foundation of Elixir itself, opening the door for every Elixir programmer to build applications in fun, powerful ways.

Ryan Cromwell
Technical director, Sparkbox

A treasure trove of metaprogramming patterns, this book is just whatthe community needs to communicate the power, extensibility, andpracticality of metaprogramming in Elixir. After reading it, youllknow how and why to use metaprogramming both responsibly andirresponsibly. Definitely a must-have for anyone wanting to go beyondthe basics of a beautiful language.

Gabriel Jaldon
Web developer, open source enthusiast

Acknowledgements

This book wouldnt have been possible without the help of a number of people whose hard work and support cant go without mention. These names deserve recognition for making the book what it is today.

Jos ValimCreator of Elixir:

Metaprogramming Elixir clearly wouldnt have been possible without all the hard work that Jos dedicated to crafting this wonderful language. Beyond that, though, he has been a true community leader and a helpful friend. His welcoming and kind nature has shaped Elixirs community and set a precedent for how an OSS project should be run. He has been constant source of help and inspiration along the way.

Matt SearsFounder, Littlelines:

As my boss at my full-time job, Matt gave me the flexibility to make this book possible. From a work atmosphere that fosters personal growth, to his support for community outreach, he helped make this book a reality. For that, Im truly thankful.

Jacquelyn CarterEditor:

Working closely with Jackie on this book has been a great pleasure. Jackies guiding feedback and encouragement led to a work that Im extremely proud of. This book would not have been the same without her.

The Publishers:

It has been an honor to work with the Pragmatic Programmers. Dave Thomas and Andy Hunt welcomed me into the Prag family, and their close-knit operation made me feel right at home. Susannah Pfalzer offered wisdom and encouragement while pushing me to do my best. Im extremely grateful for the entire Prag team and the level of care I received throughout this journey.

The Reviewers:

The reviewers have my gratitude for dedicating their time and knowledge to help make this book the best it could be. Jos Valim, Bruce Tate, Jason Stiebs, Matt Sears, Zander Hill, Ryan Cromwell, and Gabriel Jaldon all took time out of their busy lives to offer guidance and support. Jason Stiebs deserves particular credit for being available at all hours of the day and night to offer feedback throughout the process.

Copyright 2015, The Pragmatic Bookshelf.

Introduction

In 2012, Jos Valim announced that he was working on his own programming language. At the time, I thought he was crazy. Little did I know the impact his creation would have on the way I view programming. Since discovering it, I cant bear to put down the keyboard. The amount of care that went into the languages design and the level of power it gives you is truly freeing. Its the only language Ive found that makes it a joy to build scalable, fault-tolerant systems. Combined with all the innovations from the Erlang ecosystem, its a language you can easily fall in love with. Throughout this book, youll find out why.

Were going to explore metaprogramming in Elixir from the ground up. Along the way, youll level up your programming skills and discover the full potential of Elixirs macro system. After youre finished, youll know the ins and outs of Elixir at a fundamental level, and youll be able to write incredible libraries that let you do more with less code.

MetaprogrammingAn Essential Feature

Metaprogramming is a must on my list of language requirements. It puts you in control to extend the language to suit your projects needs and lets you write powerful libraries that would be otherwise impossible. I have a strong web development background, and when I started with Elixir, I immediately realized how well suited it would be for a web framework. Phoenix was born out of the realization that I could have the best of both words in a web framework: a language that makes it a joy to write applications, with a runtime that is fast and scalable. With Elixir, Phoenix doesnt have to choose between productivity and scalability. Metaprogramming gives us both.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

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

Look at similar books to Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!). We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


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

Discussion, reviews of the book Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!) and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.