On Fri, 2006-27-10 at 16:47 -0400, Travis Derouin wrote:
Yeah, off the top of my head: anything to do with the UI should have a hook, this of course is just coming from my experience with 1.6.7, who knows, there could be tons of hooks in 1.8+.
There are!
It just seems like continously defining hooks in specific places isn't really sustainable way of allowing developers to build add-ons, and that another approach could be thought out.
Well, if you run a debugger, you could put breakpoints at any line of code and possibly at arbitrary expressions. It also slows down your code to a crawl, and it gives far more modifiability than anyone really needs.
The chain of responsibility pattern is a classic way to provide run-time modifiable behaviour.
-Evan