DEV Community

Discussion on: Tell us what your top unpopular tech opinion is 😈

Collapse
 
cryptoquick profile image
Distributed Hunter Trujillo

When you start to go down the road of transducers, that's when you start to realize it might've been better to have just stuck to a for loop.

And while loops are highly underrated. I've trampolined enough recursive functions to know it's better to just use a while loop and reduce overall complexity-- computational as well as mental overhead.