[fpc-devel] Parameters must match exactly?
"Vinzent Höfler"
JeLlyFish.software at gmx.net
Tue May 18 07:45:12 CEST 2010
Henry Vermaak <henry.vermaak at gmail.com>
> On 17 May 2010 21:59, "Vinzent Höfler" <JeLlyFish.software at gmx.net>
> wrote:
> > Florian Klaempfl <florian at freepascal.org>:
> >
> >> Graeme Geldenhuys schrieb:
> >>
> >> > This compiler change will play havoc on the Simple Factory Method
> design
> >> > pattern as well - a base class is used as the parameter type, but
> >> > descendants are created and passed back. This is a very common case
> and
> >> > used a lot.
> >>
> >> ... and one uses normally a function and not a var/out parameter.
> >
> > And return the error code in an out parameter instead? [...]
>
> Perhaps you should establish a technical argument instead of wasting
> two paragraphs on childish sarcasm?
The technical argument was in the first sentence, if you were so kind to have read it.
Vinzent.
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the fpc-devel
mailing list