I often catch my self thinking that I miss something like the following in C#: send new MyMessage(); The line should work just like “throw”, but instead of stopping the execution of the code and looking for a handling catch block up in the stack, I would like a pluggable architecture for processing messages, so that you can mark a method to handle the message. “Send” can be used to pass messages to the upper levels, without events if those are unwanted. It will also be very cool if it will be a...
posted @ Wednesday, December 09, 2009 12:01 AM |