[fpc-devel] Interface delegation fix: backport to FPC 2.4.2 ...?
Marco van de Voort
marcov at stack.nl
Wed May 19 15:31:13 CEST 2010
In our previous episode, Graeme Geldenhuys said:
> > way to go. Today it is observers, tomorrow it is iterators etc.
>
> Observer has been around for ages, it's not a "today's flavour" feature.
> It's minimal addition with huge benefits.
So are iterators and umpteen other patterns. (like e.g. using interfaces
Java style to categorize the various container types)
> This was discussed off the mailing list by Michael, Joost and myself.
> Consensus was positive, but I just want to confirm the final answer.
I'm against. This is a sliding slope. Michael agreeing to this surprises me
a bit. He was not exactly fond of when notifiers were introduced in Delphi's
containertypes (which are more or less observer relations too, though less
flexible)
> As for the iterators idea I mentioned months ago. I decided to keep it as a
> separate unit and used by my projects as needed. This way I don't need to
> fight FPC policies/ideals if I want to make changes. [it's not always
> beneficial to contribute code]
It is not always beneficial to incorporate all patches either.
> The Observer pattern is a lot simpler and would not change in the future.
Most patterns are pretty much unchanged in principle since GoF.
More information about the fpc-devel
mailing list