Book description
A short composition that provides practice material for a particular musical skill is called an étude. In this handson book, you’ll find more than 30 études to help you practice ClojureScript skills for specific programming areas, ranging from functions and variables to asynchronous processing. Each of these small projects includes a description of a program that you will compose (write) in ClojureScript.
Though not as difficult as their musical counterparts, these programming études will help you stretch beyond the material and examples that you find in most ClojureScript books or online references. One chapter features études for an openended project that will help you put together what you’ve learned. Solutions to each étude are revealed in the appendix.
Programming areas include:
 Working with functions and variables with def and let
 Interacting with JavaScript and web pages, using several libraries
 Lists, vectors, and higherorder map, filter, and reduce functions
 Data mapping with ClojureScript
 Using different ClojureScript libraries to program with React
 Adding, subtracting, multiplying, and dividing rational and complex numbers with defprotocol and defrecord
 Asynchronous processing with core.async
J. David Eisenberg is a programmer and instructor in San Jose, California. He’s developed courses for CSS, JavaScript, CGI, and XML, and teaches Computer Information Technology courses at Evergreen Valley College. David has written Études for Erlang (O’Reilly), Let’s Read Hiragana (Eisenberg Consulting), and SVG Essentials (O’Reilly).
Publisher resources
Table of contents
 Preface
 1. Functions and Variables
 2. Interacting with JavaScript and Web Pages
 3. Lists, Vectors, and HigherOrder Functions
 4. Maps
 5. Programming with React
 6. Interlude: Room Usage Project
 7. Records and Protocols
 8. Asynchronous Processing

A. Solutions
 Solution 12
 Solution 13
 Solution 14
 Solution 15
 Solution 21
 Solution 22
 Solution 23
 Solution 24
 Solution 25
 Solution 31
 Solution 32
 Solution 33
 Solution 34
 Solution 35
 Solution 36
 Solution 37
 Solution 41
 Solution 42A
 Solution 42B
 Solution 43
 Solution 44
 Solution 45
 Solution 51
 Solution 52
 Solution 61
 Solution 62
 Solution 63
 Solution 71
 Solution 72
 Solution 73
 Sample core.async Program 1
 Sample core.async Program 2
 Solution 81
 B. Setting Up Your ClojureScript Environment
 C. Creating a ClojureScript Project with Leiningen
 D. ClojureScript on the Server
Product information
 Title: Etudes for ClojureScript
 Author(s):
 Release date: November 2015
 Publisher(s): O'Reilly Media, Inc.
 ISBN: 9781491934890
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn't clean, it can bring a development organization …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …