Hacker News new | ask | show | jobs
by drowsspa 1135 days ago
I can only think of Python, but are people learning that alone these days? In every other popular language, I can't imagine not ever encountering a situation where you also need to know the index of the iteration.
1 comments

But also in every language there's syntax sugar to get the index.

In reality it's honestly just better in 99% of situations.