[fpc-pascal] Class vs Object type
Adriaan van Os
fpc at microbizz.nl
Thu Apr 7 14:43:11 CEST 2016
Graeme Geldenhuys wrote:
> Are there pros or cons to either?
The fashion of the day. Apparently, programmers are (supposed to be) not intelligent enough to work
with pointers themselves -- if needed. So the compiler does that for you and declares everything a
pointer automatically. Same with "magic" types such as PChar and "AnsiString". Poor man's
programming in my view, but as said, that's the fashion of the day.
Needless to say that a program where the programmer does have full control himself (and uses that
to the advantage) is both faster and more reliable than a program where things are handled
"automagically".
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list