[fpc-devel] Faster InitObject

waldo kitty wkitty42 at windstream.net
Fri Feb 24 03:21:50 CET 2012


On 2/23/2012 18:54, Amir wrote:
> On 02/23/2012 02:20 PM, Hans-Peter Diettrich wrote:
>> The initialization of every class instance is a major improvement over
>> e.g. C++ classes. I'd say that you should accept it, instead of
>> searching for workarounds, with hard to predict effects in the remaining
>> code.
>
> I understand that, but I usually forget about it and initialize all my variables
> to 0 in constructor ;).

yet another way that pascal helps you instead of handing you the gun, pointing 
it at yer foots and assisting you in pulling the trigger ;) ;) :P :lol:




More information about the fpc-devel mailing list