top

What's Wrong with C++, Anyhow?

To paraphrase Bjarne Stroustrup, C++ is the best C++ there is. I still make my living with it, and it's as good an extended mostly-C-compatible language as I can imagine. However, I lost faith in it after the ANSI committee added exception handling. At that point it became clear that the ANSI committee was off its rocker.

Why C++ Exception Handling is Evil

C++ exceptions violate one of Bjarne's prime rules for language features: You should never have to pay for a feature you don't use. You can end up paying (dearly!) for exceptions even if your code doesn't use any.

I'd rather write correct code than spiffy code. C++ exceptions sure are spiffy, but the code that uses them is awful hard to get right.


Copyright (c) 1997 by Wayne E. Conrad, All Rights Reserved
Last Updated May 6, 1998
This page has been accidentally visited times since May 1st, 1998.
HTML DTD Validated Best Viewed With Any Browser

This page hosted by Get your own Free Home Page