3 ms·
> That's only true for languages that don't support looping over an iterable directly. Even with loop-over-iterable semantics, explicit loops obscure intent co
by dragonwriter 5y ago
> That's only true for languages that don't support looping over an iterable directly.
Even with loop-over-iterable semantics, explicit loops obscure intent compared to comprehensions and map/reduce/filter/etc.; they are better than C-style loops which in turn are better than conditionals + gotos, but that doesn't make them good at expressing intent in many common cases.