|
|
|
|
|
by dandelion9
424 days ago
|
|
Based on the averages, a DSL is going to suck and be a curse upon your future self/maintainers. You provided a Clojure alternative, but without using the precise feature designed to alleviate this problem: transducers[0]. Transducers are the combination of functional composition and an indirection designed to decouple the data transformation pipeline from any specific source (e.g. async vs in-memory doesn't matter). [0] https://clojure.org/reference/transducers |
|