On Friday, 10 April 2015 at 11:18:16 UTC, bearophile wrote: > Martin Krejcirik: > >> I agree, people should just use arr.length. > > People should probably use "arr.empty". > > Bye, > bearophile Comes to the same thing: https://github.com/D-Programming-Language/phobos/blob/master/std/range/primitives.d#L1957