E-Book Overview
For weeks, months —nay!—from the very moment you were born, you’ve felt it calling to you. At long last you’ll be united with the programming language you’ve been longing for: Clojure!
As a Lisp-style functional programming language, Clojure lets you write robust and elegant code, and because it runs on the Java Virtual Machine, you can take advantage of the vast Java ecosystem. Clojure for the Brave and True offers a “dessert-first” approach: you’ll start playing with real programs immediately, as you steadily acclimate to the abstract but powerful features of Lisp and functional programming. Inside you’ll find an offbeat, practical guide to Clojure, filled with quirky sample programs that catch cheese thieves and track glittery vampires.
Learn how to:
Wield Clojure’s core functions
Use Emacs for Clojure development
Write macros to modify Clojure itself
Use Clojure’s tools to simplify concurrency and parallel programming
Clojure for the Brave and True assumes no prior experience with Clojure, the Java Virtual Machine, or functional programming. Are you ready, brave reader, to meet your true destiny? Grab your best pair of parentheses—you’re about to embark on an epic journey into the world of Clojure!
E-Book Content
S h elve i n : P r og r a mmi n g La ng uag e s/Clojure
For weeks, months —nay!—from the very moment you were born, you’ve felt it calling to you. At long last you’ll be united with the programming language you’ve been longing for: Clojure!
• Wield Clojure’s core functions • Use Emacs for Clojure development • Write macros to modify Clojure itself • Use Clojure’s tools to simplify concurrency and parallel programming Clojure for the Brave and True assumes no prior experience with Clojure, the Java Virtual Machine, or functional programming. Are you ready, brave reader, to meet your true destiny? Grab your best pair of parentheses—you’re about to embark on an epic journey into the world of Clojure!
Daniel Higginbotham has been a professional programmer for 11 years, half of that at McKinsey & Company, where he used Clojure to build mobile and web applications. He has also contributed to the curriculum for ClojureBridge, an organization that offers free, beginner-friendly Clojure workshops for women. Daniel blogs about life and programming at http://flyingmachinestudios.com/, and can be found on Twitter, @nonrecursive. He lives in Durham, North Carolina, with his wife and four cats. C o v e r s C l o j u r e 1.7
r e q u i r e s J ava 1.6 or l ate r
$34.95 ($40.95 CDN) w w w.nostarch.com THE FINEST IN G E E K E N T E R TA I N M E N T ™
Daniel Higginbotham
About t he Au tho r
And
learn h o w to
for The
As a Lisp-style functional programming language, Clojure lets you write robust and elegant code, and because it runs on the Java Virtual Machine, you can take advantage of the vast Java ecosystem. Clojure for the Brave and True offers a “dessert-first” approach: you’ll start playing with real programs immediately, as you steadily acclimate to the abstract but powerful features of Lisp and functional programming. Inside you’ll find an offbeat, practical guide to Clojure, filled with quirky sample programs that catch cheese thieves and track glittery vampires.
Clojure Brave True
Join the Ranks of Noble Clojurists
Clojure for The
Brave And
True learn the ultimate language and become a better programmer
Daniel Higginbotham
Clojure for the Brave and True
Clojure for the Brave and True. Copyright © 2015 by Daniel Higginbotham. All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information st