[fpc-devel] Interface delegation fix: backport to FPC 2.4.2 ...?
Sergei Gorelkin
sergei_gorelkin at mail.ru
Wed May 19 21:56:36 CEST 2010
Matt Emson wrote:
>
> I don't think so. I'd hate to see any specific pattern being implemented
> at a base level. Why? Exactly what Marco said. Patterns are faddy - you
> are not going to please everyone. I'd rather see a mechanism for
> injecting first class extensions to existing classes. That way, it
> really doesn't matter what pattern is implemented where. That would be
> far more worthwhile IMO.
>
I couldn't have said it better than that.
I'd also vote for a mechanism allowing to attach an arbitrary property to a class instance,
something like what e.g. GObject does. It is of course much harder to design and implement than a
couple-line patch...
Regards,
Sergei
More information about the fpc-devel
mailing list