array length vs $

Frank Benoit keinfarbton at googlemail.com
Sat Mar 22 03:13:22 PDT 2008


Jesse Phillips schrieb:
> On Tue, 18 Mar 2008 14:48:54 +0000, Pedro Ferreira wrote:
>> You have my vote as well. Besides, writing array.$ is much quicker than
>>    array.length. Also, $ by in other places has no meaning other than
>> length (and tokens such as & and * have), which may make code clearer.
>> In my case, length is a common typo, as I am not english and frequently
>> end up writing 'lenght' instead.
> 
> I don't know if they were interested in getting rid of array.length for 
> array.$, just the use in []. I agree with removing it from within [], but 
> as for it array.$ maybe we would have both?

My original posting was meant only to remove it from within [].
I am ok with array.length and i personally don't like array.$




More information about the Digitalmars-d mailing list