On 17 May 2010 21:59, "Vinzent Höfler" <[email protected]> wrote: > Florian Klaempfl <[email protected]>: > >> 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? Great idea. So > readable. So much in the spirit of Pascal. > > Any more such suggestions on how to write code? Where can one download > "Florian's Style Guide" - so one will not do that mistake again? >
Perhaps you should establish a technical argument instead of wasting two paragraphs on childish sarcasm? Henry _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
