2 ms·
C syntax for say list iteration would be much more cumbersome than "for a in mylist", so there's benefit in diverging from C sometimes. Funnily, regardless of
by jojobas 3y ago
C syntax for say list iteration would be much more cumbersome than "for a in mylist", so there's benefit in diverging from C sometimes.
Funnily, regardless of deeply different implementations, for loops look almost the same in Python and Ruby.