Darren New wrote: > Christopher Smith wrote: >> C++, while retaining nearly complete compatibility with C, manages to >> provide mechanisms to avoid or mitigate most of C's limitations/problems. > > Except for being C, of course. :-) > > C++ would actually be pretty nice once you got past the syntax, except > for one thing. It doesn't protect you from your own mistakes. You can > stop pretty much any error from crashing your code, except for the > mistakes in the program. > > However, when you have a couple hundred machines running your code 24x7, > and they all start paging you when something breaks, it's far far better > to have a mechanism that can catch unexpected behavior and fix it than ...............................^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> it is to rely on not having any unexpected behavior to start with. > I would be happier with "catch unexpected behavior and do something "sensible" .. but maybe that's what you meant by "fix it". Of course, deciding what's sensible is sometimes difficult, eh? ..and, I would add that "exceptions" should probably get reviewed rather than be buried or ignored. Especially "unexpected exceptions" <heh>. Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
