We need better documentation for functions with ranges and templates

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 15 07:58:57 PST 2015


On 12/15/2015 09:40 AM, John Colvin wrote:
> On Tuesday, 15 December 2015 at 14:03:50 UTC, rumbu wrote:
>> This is a *good* documentation:
>> - "Count" is a better name than "walkLength"; every other programming
>> language will use concepts similar to count, cnt, length, len.
>
> meh, I like walkLength.

Me too, but don't forget that nowadays "count" with no predicate 
defaults to walkLength's semantics. -- Andrei



More information about the Digitalmars-d mailing list