Mastering Clojure Macros

Mastering Clojure Macros
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 150
Release :
ISBN-10 : 9781680503920
ISBN-13 : 1680503928
Rating : 4/5 (20 Downloads)

Book Synopsis Mastering Clojure Macros by : Colin Jones

Download or read book Mastering Clojure Macros written by Colin Jones and published by Pragmatic Bookshelf. This book was released on 2014-08-26 with total page 150 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


Mastering Clojure Macros Related Books

Mastering Clojure Macros
Language: en
Pages: 150
Authors: Colin Jones
Categories: Computers
Type: BOOK - Published: 2014-08-26 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

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,
Mastering Clojure
Language: en
Pages: 267
Authors: Akhil Wali
Categories: Computers
Type: BOOK - Published: 2016-03-28 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Understand the philosophy of the Clojure language and dive into its inner workings to unlock its advanced features, methodologies, and constructs About This Boo
Clojure for Java Developers
Language: en
Pages: 156
Authors: Eduardo Díaz
Categories: Computers
Type: BOOK - Published: 2016-02-23 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Transition smoothly from Java to the most widely used functional JVM-based language – Clojure About This Book Write apps for the multithreaded world with Cloj
Clojure: High Performance JVM Programming
Language: en
Pages: 565
Authors: Eduardo Diaz
Categories: Computers
Type: BOOK - Published: 2017-01-31 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Explore the world of lightning fast Clojure apps with asynchronous channels, logic, reactive programming, and more About This Book Discover Clojure's features a
Programming Clojure
Language: en
Pages: 382
Authors: Alex Miller
Categories: Computers
Type: BOOK - Published: 2018-02-23 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

Drowning in unnecessary complexity, unmanaged state, and tangles of spaghetti code? In the best tradition of Lisp, Clojure gets out of your way so you can focus