Re: win32 design patterns
* Alexander Nickolov:
I agree to disagree here, the question is: can you? You have no
experience with properly designed exceptionless code,
I didn't use any language or language implementation that supported exceptions
until early or mid 90's, and I really don't think all programs I worked on until
then were improperly designed.
However, I remember writing an article about the incredibly good idea of
exceptions in Ada, early 80's... :-)
Doing failure handling without exceptions was therefore not for lack of
appreciation that that would have been much better, but for lack of tools.
while I
have only cursory familiarity with exception-based code.
BTW, exceptions were not part of the original C++ language.
They are a later addition (circa 1993 IIRC). C++ is perfectly
viable without exceptions.
Quoting Bjarne[1]: "Exceptions were considered in the original design of C++,
but were postponed because there wasn?t time to do a thorough job of exploring
the design and implementation issues. Exceptions were considered essential for
error handling in programs composed out of separately designed libraries."
Your attempt to compare it to C is lame at best...
I have not compared exception-less C++ to C.
Cheers, & hth.,
- Alf
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?