Linked by Eugenia Loli on Sun 22nd Apr 2007 07:43 UTC
.NET (dotGNU too) All too often, source code spends a lot of time on basic housekeeping, monitoring the state of many objects. This is wasteful, and with C# it is unnecessary. Software expert Stephen Morris shows how C# provides a range of callback mechanisms that obviate the need for polling objects for state information.
Thread beginning with comment 232928
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[3]: It is a shame
by Matzon on Sun 22nd Apr 2007 16:37 UTC in reply to "RE[2]: It is a shame"
Matzon
Member since:
2005-07-06

The Observer pattern is one of the most used patterns (except maybe for Singleton). It's easy to implement and use - and to understand!
You might want to read the following book, which should be in every OO programmers library:
Design Patterns: Elements of Reusable Object-Oriented Software

Reply Parent Score: 2

RE[4]: It is a shame
by joshv on Sun 22nd Apr 2007 17:37 in reply to "RE[3]: It is a shame"
joshv Member since:
2006-03-18

Next time I will use the slashdot-style [sarcasm][/sarcasm] tags.

Reply Parent Score: 2