
On Oct 26, 2009, at 7:26 PM, Michael Caisse wrote:
Peter Foelsche wrote:
"Christopher Kohlhoff" <chris@kohlhoff.com> wrote in message news:1256082527.2327.1341115615@webmail.messagingengine.com ...
The throwing overloads are most typically in small programs or at program startup. Non-trivial programs will tend towards the second, non-throwing overload. It is the nature of network applications to react to errors as part of normal control flow, and exception handling is not a good approach for that.
You are the author of the asio library in boost? With this kind of thinking, how did you get this position?
Such an attitude will not get you very far in this community. Any point you might try to make will get lost in the immaturity. Such banter just shows your inexperience with reactionary systems.
Agreed. I am a huge proponent of using exception handling instead of error codes (virtually everywhere), but considering that ASIO is one of the best, and most cleverly, designed C++ libraries ever made (up there with Boost.Graph and Boost.MPL), one should be a tad careful before bantering like that. The likelihood of one's being a better C++- using designer than Christopher is not that high, statistically speaking...
I suspect you have a point you would like to make about the interface. If you keep the personal attacks out of the statement you will be more clearly heard.
If I were Christopher, I would kindly ask for instances in the ASIO library where exception handling would help readability, performance or any other aspect. I think there might be such cases, but that would be like whining about a pimple on Halle Berry's face. /David