in reply to Re^5: 5.40 released
in thread 5.40 released
I don't get all the hate for for(my $i = 0; $i < 10; $i++)
It's extremely hard to read and error prone. for my $i ( 0 .. 9 ) is so much clearer. This is true for this trivial case, and even more so for anything more complex. It's also a lot slower, but that's a secondary considering by far.
|
---|