[fpc-pascal] Out of scope method?

Ryan Joseph ryan at thealchemistguild.com
Thu Apr 6 17:23:28 CEST 2017


> On Apr 6, 2017, at 10:01 PM, Marcos Douglas B. Santos <md at delfire.net> wrote:
> 
> In fact is the opposite:
> TAction needs to have all methods that IAction have.
> This TAction class in the example is not the same class in RTL.
> 
> You shouldn't have so many methods in just one class.
> So, it is simple implement all methods of an interface.

Ouch, that’s far from a good solution then imo and the auto release pool concept from Cocoa is less work to implement and safer even. A direct compiler notification would be best though.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list