Curious where this is suggested. Do you have a link? Because from the standpoint of making code loosely couple, adaptable, and reusable this advice needs to be scrutinized.
Type: Posts; User: copeg
Curious where this is suggested. Do you have a link? Because from the standpoint of making code loosely couple, adaptable, and reusable this advice needs to be scrutinized.
In my opinion there really isn't a best method. I've seen listeners implemented in a large number of ways...many with a different reason behind the implementation. My .02 - always think about code...