small medium large xlarge

Metaprogramming Elixir; Arduino: A Quick-Start Guide

January 28, 2015

Welcome to the depths of a snowy winter. On this day in 1887 the world's largest snowflakes were reported: 15" wide and 8" thick (in Montana). Must have been “enterprise snowflakes.”

Bad weather means it’s a great time to wake up those dormant neurons and get your brain in gear. We've got two great titles this week for you!

If you've played with Elixir, it's time to step up your game with Metaprogramming Elixir: Write Less Code, Get More Done (and Have Fun!), now in print and shipping from If you haven't started learning Elixir yet, you'll want to start with Programming Elixir at Use the coupon code ElixirCatchup to get Programming Elixir for 35% off.

And if that's not enough to get your neurons pumping, grab your soldering iron and head over to Arduino: A Quick-Start Guide, Second Edition, now in print and shipping at


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

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.

Now in print and shipping from

Arduino: A Quick-Start Guide, Second Edition

This Quick-Start Guide is packed with fun, useful devices to create, with step-by-step instructions and photos throughout. You'll learn how to connect your Arduino to the Internet and program both client and server applications. You'll build projects such as your own motion-sensing game controller with a three-axis accelerometer, create a universal remote with an Arduino and a few cheap parts, build your own burglar alarm that emails you whenever someone's moving in your living room, build binary dice, and learn how to solder. You'll create your own video game console that you can connect to your TV set in one of this edition's new projects. Plus, you'll learn how to use the Arduino with the latest web technologies such as Google Chrome Apps.

This book is completely updated for the latest Arduino boards and the latest advances in supporting software and tools for the Arduino. Sidebars throughout the book point you to exciting real-world projects using the Arduino, exercises extend your skills, and "What If It Doesn't Work" sections help you troubleshoot common problems. With this book, beginners can quickly join the worldwide community of hobbyists and professionals who use the Arduino to prototype and develop fun, useful inventions.

Now in print and shipping from

Upcoming Author Appearances

  • 2015-01-28 James Grenning, OOP Conference, Munich Germany
  • 2015-01-29 Andrew Hunt, Leadership In Technology Series, NC State University, Raleigh NC
  • 2015-02-27 Rachel Davies, NorDevCon, Norwich, UK
  • Audio Books!

    Did you know we're producing audio books for your listening pleasure?

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy @PragmaticAndy and Dave @pragdave.

    Coming Soon:

    • Mazes for Programmers: Code Your Own Twisty Little Passages
    • The Cucumber for Java Book in print
    • CoffeeScript, Second Edition in print

    Recently Released:

    Thanks for your continued support,

    Dave & Andy The Pragmatic Programmers

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts