[fpc-devel] Problem with cascading Destructor in fpc 2.4

Vinzent Höfler JeLlyFish.software at gmx.net
Sun Oct 31 01:12:42 CEST 2010


On Sat, 30 Oct 2010 17:54:13 +0200, Martin Krüger <martin.krueger at gmx.com>
wrote:

> I introduced an boolean-option to the destructor of a class.

Actually, you seem to be violating basic object oriented paradigms here. An
object should always know from its current state how to destruct itself, so
why should a destructor need a parameter?


Vinzent.



More information about the fpc-devel mailing list