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

Reply via email to