May 2014
Intermediate to advanced
520 pages
17h 23m
English
It’s better to have 100 functions operate on one data structure than 10 functions on 10 data structures.
Alan Perlis[1]
1 “Epigrams on Programming,” ACM SIGPLAN 17, no. 9 (September 1982).
This chapter covers
Clojure provides a rich set of composite data types, or collection types, and we’ll cover them all: vectors, lists, queues, sets, and maps. In this chapter, we’ll dig into the strengths and weaknesses of each. We’ll spend more time on vectors and maps than ...