[fpc-devel] Interface delegation fix: backport to FPC 2.4.2 ...?

Nikolai Zhubr n-a-zhubr at yandex.ru
Wed May 19 22:14:49 CEST 2010


19.05.2010 23:56, Sergei Gorelkin:
> 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,

Yes! Me too! :)

Nikolai

> something like what e.g. GObject does. It is of course much harder to
> design and implement than a couple-line patch...
>
> Regards,
> Sergei
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list