DEV Community

Discussion on: Please don't "overchain" array methods

Collapse
 
kamoroso94 profile image
Kyle Amoroso

It is exactly this problem, the trade-off between readability and efficiency, pertaining to chaining array methods that has inspired me to create a solution. I've been working on a small library that transforms iterables into a form that can have chained array methods with a single iteration. Something similar to Java 8's Stream API.