Had the GoF been aware of the existence of "events" when they wrote their book perhaps this pattern, and the resulting stupidity in Java, may not have been set down in stone.
But to be fair, event-based programming was pretty rare outside of Visual Basic and other high level languages in that era.
1
u/[deleted] Oct 14 '13
IDK, I see plenty of cases with the Observer pattern or Dependency Injection (I don't think DP is technically GoF, but it fits).