|
|
|
|
|
by jwr
1048 days ago
|
|
Using transducers is really easy and intuitive (with "comp" letting you compose a pipeline of transformations in a readable way). Writing custom transducers, especially stateful transducers is really difficult. But that's not something you'll do often. My 10kLOC complex app has three stateful transducers that I wrote. I think transducers are an under-appreciated aspect of Clojure. They are an extremely valuable and flexible tool, and have allowed me to write reusable and composable code and tackle significant complexity, all with great performance. |
|