On 07/08/2010 10:26 AM, BLS wrote:
Hi,
Unfortunately Andrei has canceled his efforts on std.pattern.

Despite that I would like to hear your opinion regarding std.patterns in
general, I have a concrete problem in implementing patterns (like GOF
stuff) with the help of mixin templates..

A concrete example (atm. an evolving idea) is the implementation of a
mixin template based "observer pattern". (publisher/subscriber)

I've startet a discussion on d.learn and
it would be very generous if you can have a look at :
news://news.digitalmars.com:119/[email protected]
and follow the thread.

Further :
What do you think ?
Would it makes sense to use the std.concurrency message passing system
for OO patterns that require message passing ?

I think Observer is a very difficult pattern to make generic. There's very much variability. Here's an article I wrote about it:

http://docs.google.com/viewer?url=http://erdani.com/publications/cuj-2005-04.pdf

http://docs.google.com/viewer?url=http://erdani.com/publications/cuj-2005-06.pdf


Andrei

Reply via email to