[fpc-pascal] Illogical automatic dereferencing

Jürgen Hestermann juergen.hestermann at gmx.de
Tue Oct 13 15:10:03 CEST 2009



 > Florian Klaempfl schrieb:
>>> Great power comes with great responsibility.
>> Yes. Then use C or assembler. You are "responsible" for everything and
>> you cannot expect any help from the compiler.
> So the consequence would be to forbid pointers/@-operator/type casts et.
> al. 

No. Only the logic has be kept strict. Otherwise noone realy knows what 
to write when coding and starts guessing.

> If you want pointers and all dirty stuff, use C or assembler.

Pointers are great in Pascal (if the syntax wasn't influenced by C) but 
a nightmare in C. It's just that it would be very easy to handle 
pointers in Pascal but then the syntax and logic has to stay strict.





More information about the fpc-pascal mailing list