On 4/28/2016 11:22 PM, Seb wrote:
`foreach (i; 0..5)` seems to cover 95% of my for uses and it looks a lot cleaner. I am actually pretty happy that D has this!
foreach neatly eliminates most fencepost bugs.
Walter Bright via Digitalmars-d Fri, 29 Apr 2016 02:08:42 -0700
On 4/28/2016 11:22 PM, Seb wrote:
`foreach (i; 0..5)` seems to cover 95% of my for uses and it looks a lot cleaner. I am actually pretty happy that D has this!
foreach neatly eliminates most fencepost bugs.