What's the deal with "Warning: explicit element-wise assignment..."

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 16:09:40 PDT 2014


Andrei Alexandrescu:

> On 4/29/14, 11:08 AM, bearophile wrote:
>> In Phobos there are awkward names like walkLength
>
> Love it. -- Andrei

The name like "walkLength" was chosen (by you?), instead of a 
more natural name like "length" (or even a nice, short, clean, 
readable, handy and easer to write name like "len" as in Python) 
to underline that walkLength could be O(n).

Bye,
bearophile


More information about the Digitalmars-d mailing list