DEV Community

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

Collapse
 
somedood profile image
Basti Ortiz • Edited

I mean, one can't really say that those who disagree with this article are completely wrong. Readability really is an important aspect of writing code. Performant code means nothing if it is unreadable.

Also, yup, I definitely agree with using filter before map. That should honestly be a default for all JavaScript programmers.