Arbitrary abbreviations in phobos considered ridiculous

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Mar 9 15:05:23 PST 2012


On 3/9/12 5:54 AM, Ary Manzana wrote:
> Sample Ruby session:
>
>  > irb
> ruby-1.8.7-p352 :001 > [1, 2, 3].count
> => 3
> ruby-1.8.7-p352 :002 > [1, 2, 3].length
> => 3
> ruby-1.8.7-p352 :003 > [1, 2, 3].size
> => 3
>
> I never saw *anyone* complaining about this. When you write, you choose
> whatever is convenient to you (whatever comes to your mind first). When
> you read it, it's understandable. Nobody wonders "why didn't he wrote
> 'length' instead of 'size'", because the meaning is clear.

I don't think this sits well in the D culture.

Andrei


More information about the Digitalmars-d mailing list