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. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel