Skip to Main Content
The Joy of Clojure, Second Edition
book

The Joy of Clojure, Second Edition

by Michael Fogus, Chris Houser
May 2014
Intermediate to advanced content levelIntermediate to advanced
520 pages
17h 23m
English
Manning Publications
Content preview from The Joy of Clojure, Second Edition

Chapter 2. Drinking from the Clojure fire hose

This chapter covers

  • Scalars: the base data types
  • Putting things together: collections
  • Making things happen: functions
  • Vars are not variables
  • Locals, loops, and blocks
  • Preventing things from happening: quoting
  • Using host libraries via interop
  • Exceptional circumstances
  • Modularizing code with namespaces

This chapter provides a quick tour of the bare necessities—the things you’ll need to know to understand the rest of this book. It may seem odd to provide a tutorial-like chapter right away, but we felt that it was more important to introduce the ideas of the language first rather than the mechanics.[1] If you’ve been programming with Clojure for a while, this may be a review, but otherwise ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Living Clojure

Living Clojure

Carin Meier
Clojure in Action, Second Edition

Clojure in Action, Second Edition

Amit Rathore, Francis Avila
Getting Clojure

Getting Clojure

Russ Olsen
Programming Clojure, 3rd Edition

Programming Clojure, 3rd Edition

Alex Miller, Stuart Halloway, Aaron Bedra

Publisher Resources

ISBN: 9781617291418Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link