WatcherLib

by Ter13
Easy, minimal impact event watchers
ID:2316673
 
WatcherLib implements a top-level event handling structure.

Separation of Concern is an important concept for keeping codebases clean and easy to work in. Watcher structures are by far the best way to ensure proper separation of concern.

Event handlers and the like are a good way to minimize the amount of effort someone has to expend to learn your codebase by making dynamic inter-connectivity not be pre-programmed into data structures. Everything is standardized into a dynamic relationship that is easy to digest, debug, and refactor.

See the documentation thread for this library here:

http://www.byond.com/forum/?post=2316683