Matt Emson het geskryf: > Patterns are faddy - you are not going to please everyone.
Please explain and give examples where Observer will not be useful. Also, I do not know what "faddy" means. > I'd rather see a mechanism for injecting first class extensions to > existing classes. * Interfaces don't work because you need to subclass them to get the extra functionality. This is totally useless for things like TCombobox.Items or TMemo.Lines (like Michael explained) because such components uses TStrings directly. * Class Helpers like in Delphi. Also useless because you can only extend them with one helper class at a time. So you want ComboBox.Items.IsEmpty so you create a help class do do that. Now that helper class blocks any other functionality from being added. Class Helpers were introduced in Delphi 8 - the worse release of Delphi *ever*, and with such features we can clearly see why. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel