3 ms·
In recent years it's very possible they either don't use a language where that syntax is ever required (python) or just use one of the foreach variants in prett
by ApolloFortyNine 3y ago
In recent years it's very possible they either don't use a language where that syntax is ever required (python) or just use one of the foreach variants in pretty much every language.
- drowsspa 3y agoI 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.
- ApolloFortyNine 3y agoBut also in every language there's syntax sugar to get the index. In reality it's honestly just better in 99% of situations.