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

via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 22:20:57 PDT 2014


On Tuesday, 29 April 2014 at 23:09:42 UTC, bearophile wrote:
> 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).

I usually prefix such cases with "calc", e.g. calcLength / 
calc_length


More information about the Digitalmars-d mailing list