Arbitrary abbreviations in phobos considered ridiculous

Nick Sabalausky a at a.a
Fri Mar 9 10:34:38 PST 2012


"Ary Manzana" <ary at esperanto.org.ar> wrote in message 
news:jjd21r$6ni$1 at digitalmars.com...
>
> 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 would wonder what the subtle distinction is. FWIW.




More information about the Digitalmars-d mailing list