Unleash Your Data with Clojure: Using Transducers and Sequences
summary
Compares a Java implementation that iterates GitHub repo commits with Clojure versions that use maps, sequences, reducers and transducers to compute “most commits per repo.” Uses egit/tentacles for GitHub JSON, Clojure functions like group-by, sort-by, get-in, map/filter/reduce, fold and transduce, and ForkJoin for parallel reducers. Shows immutable persistent collections and sequences as lazy, reusable views, and claims transducers remove intermediate allocations while remaining applicable to collections and channels and working as advertised.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 1:04Problem statement and Java code
- 10:21Java domain object issues
- 25:31Clojure data model overview
- 35:28Domain objects in Clojure
- 41:52Sequences and immutability
- 44:19Clojure solution for commits
- 51:28Sequence operations in Clojure
- 55:40Introduction to reducers
- 59:53Transducers explained
- 1:02:01Summary and Q&A








