2 ms·
I think (2) in Python is a clear winner over Go's C-style for loops, which are pretty bad all around: they're hard to understand for beginners, they're verbose,
by pcwalton 11y ago
I think (2) in Python is a clear winner over Go's C-style for loops, which are pretty bad all around: they're hard to understand for beginners, they're verbose, they make it easy to get boundary conditions wrong (especially with unsigned types!), etc. etc.