2009/10/11 "Vinzent Höfler" <jellyfish.softw...@gmx.net>:
> Henry Vermaak <henry.verm...@gmail.com>:
>
>> 2009/10/10 "Vinzent Höfler" <jellyfish.softw...@gmx.net>:
>> > Henry Vermaak <henry.verm...@gmail.com>:
>> >
>> >> One thing I think you don't understand is that an array _is_ a
>> >> pointer.  Look at this table to visualise:
>> >>
>> >> http://en.wikipedia.org/wiki/C_syntax#Accessing_elements
>> >
>> > One thing I think you don't understand is that arrays and pointers are
>> orthogonal concepts in almost every
>> > other programming language than C.
>>
>> Yes, I am aware of this (at least with the languages I've worked with).
>>
>> > So technically, C is the one who got it wrong.
>>
>> Huh?  Are you saying something is wrong because the majority does it
>> differently?
>
> No. I'm saying it's wrong because this "majority" _proves_ it can be done 
> differently. So the concept seems flawed at least.

Please don't confuse your opinion with "right" and "wrong".  C works
quite well for me, but so does pascal.  I'm not prepared to call
either of them "wrong".  Confusion and consistency were what this
discussion was about.

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to