My Account Log in

1 option

Mastering Clojure macros : write cleaner, faster, smarter code / Colin Jones.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Jones, Colin, 1980- author.
Contributor:
Rashid, Fahmida Y., editor.
Series:
Pragmatic programmers.
Pragmatic Programmers
Language:
English
Subjects (All):
Clojure (Computer program language).
Macro instructions (Electronic computers).
Functional programming (Computer science).
Physical Description:
1 online resource (101 pages).
Edition:
1st ed.
Other Title:
Write cleaner, faster, smarter code
Place of Publication:
Dallas, Texas ; Raleigh, North Carolina : The Pragmatic Bookself, 2014.
Language Note:
English
System Details:
text file
Summary:
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.
Contents:
Cover
Table of Contents
Acknowledgments
Introduction
Why Clojure?
Why Macros?
Metaprogramming in Non-Lisps
Who Is This Book For?
What's in This Book?
How to Read This Book
Online Resources
1. Build a Solid Foundation
Code Is Data
Transforming Code
Evaluating Your First Macro
Macroexpansion
2. Advance Your Macro Techniques
Syntax-Quoting and Unquoting
Approaching Hygiene with the Gensym
Secret Macro Voodoo
3. Use Your Powers Wisely
Macros Aren't Values
Macros Can Be Contagious
Macros Can Be Tricky to Get Right
4. Evaluate Code in Context
Dynamic Bindings
Evaluating (or Not) in Time and Place
Rescuing Errors
Cleaning Up Resources
5. Speed Up Your Systems
Benchmarking Your Code
Hiding Performance Optimizations
Moving Execution to Compile Time
6. Build APIs That Say Just What They Mean
Compojure
Clojure Koans
Decoupling Macros from Functions
7. Bend Control Flow to Your Will
Loops and Loops and Loops and…
Turning Expressions Inside Out with Threading Macros
Delimited Continuations
8. Implement New Language Features
Implementing Pattern Matching
Error Handling in Macros
Code-Walking Macros
Macros Are [Not] Magic
Bibliography.
Notes:
Bibliographic Level Mode of Issuance: Monograph
Includes bibliographical references.
Description based on print version record.
ISBN:
9781941222768
1941222765
9781680503937
1680503936
9781680503920
1680503928
9781941222225
1941222226
OCLC:
893587999

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account