Hacker News new | ask | show | jobs
by boxed 269 days ago
> for loop

The language matters a lot here too:

> For instance, map and filter typically involve pure functions, which are easier to reason about, and they avoid an entire class of off-by-one iterator bugs.

That's not how "for loops" work in many programming languages! Python being the most obvious, and by some measures the largest programming language of all.