MASTERING CLOJURE MACROS
ebook

MASTERING CLOJURE MACROS (ebook)

COLIN JONES

$200.00
IVA incluido
Editorial:
PRAGMATIC BOOKSHELF
Materia
INFORMATICA
ISBN:
9781680503920
Formato:
Epublication content package
Idioma:
Inglés
DRM
Si

Level up your skills by taking advantage of Clojure's powerful macro system. Macros make hard things possible and normal things easy. They can be tricky to use, and this book will help you deftly navigate the terrain. You'll discover how to write straightforward code that avoids duplication and clarifies your intentions. You'll learn how and why to write macros. You'll learn to recognize situations when using a macro would (and wouldn't!) be helpful. And you'll use macros to remove unnecessary code and build new language features.

Clojure offers some sharp tools in its toolbox, and one of the sharpest is its macro system. This book will help you write macros using Clojure, and more importantly, recognize when you should be using macros in the first place.

The Lisp "code-as-data" philosophy gives tremendous advantages to macro authors and users. You can use macros to evaluate code in other contexts, move computations to compile time, and create beautiful API layers. You don't need to wait on the Clojure language itself to add new features, you'll learn how to implement even the lowest-level features as macros. You'll step through representative samples of how to use macros in production libraries and applications, find clear details on how to construct macros, and learn pointers to avoid obstacles that often trip up macro amateurs.

Clojure macros are more straightforward to use than metaprogramming features in many other languages, but they're different enough from normal programming to present challenges of their own. Mastering Clojure Macros examines some of these issues, along with alternatives to macros where they exist.

By the time you finish this book, you'll be thinking like a macro professional.

What You Need:The book examples have been developed under Clojure 1.6.0, although earlier and later versions of Clojure may work as well. You'll want to use Leiningen 2.x in order to follow along with the examples that use external projects.

Otros libros del autor

  • THE CHARITABLE IMPERATIVE
    COLIN JONES
    Drawing on a wide variety of archival and secondary sources, The Charitable Imperative, originally published in 1989, provides an overview of the very different institutions that treated the poor in France from the seventeenth through to the early nineteenth centuries: hospitals and poorhouses, military infirmaries, reformatories for prostitutes, holding places for the insane, ...

    $860.00

  • URBAN ECONOMY
    COLIN JONES
    Urban Economy: Real Estate Economics and Public Policy analyses urban economic change and public policy in a more practical way than a typical urban economics book. The book has a distinctive framework that considers the underlying reasons, and the consequences of urban change for real estate investors and policy makers. Part 1 covers the basics of urban economics and real esta...

    $1,460.00

  • THE LONGMAN COMPANION TO THE FRENCH REVOLUTION
    COLIN JONES
    Provides clear and comprehensive factual information across the full range of the Revolutionary period (1787-99). ...

    $1,900.00

  • REASSESSING FOUCAULT
    COLIN JONES
    Though Foucault is now widely taught in universities, his writings are notoriously difficult. Reassessing Foucault critically examines the implications of his work for students and researchers in a wide range of areas in the social and human sciences. Focusing on the social history of medicine, successive chapters deal with his historiographical, methodological and philosophica...

    $1,160.00