[fpc-pascal] Out of scope method?

Ryan Joseph ryan at thealchemistguild.com
Thu Apr 6 16:01:30 CEST 2017


> On Apr 6, 2017, at 8:54 PM, Marcos Douglas B. Santos <md at delfire.net> wrote:
> 
> Pretty clear, right?
> 
> Because this "problem" I have a "pattern" that I called "New Method".
> 
> You can see how it works in my article:
> (you need to translate from Portuguese)
> http://objectpascalprogramming.com/posts/interfaces-e-o-metodo-estatico-new/

This sounds highly prone to errors to be honest. Don’t you lose all type checking also? That would have to be deal breaking I would think.

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list