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.
C# Callback and Event Mechanisms
2007-04-22 .NET 9 Comments
Yeah, it’s a shame, all that polling logic I’ve written in Java because I don’t understand how to use java.util.Observable, or the various event listener interfaces most frameworks provide.