Taking Exception

Today’s lesson:

Exceptions are hard.

OOP-style exceptions in languages like C++, that is. I’ve been thinking of ways I could better use them in my own code, and it’s more complex than it first appears. Raymond Chen, a fairly well-respected programmer (even if he does work at Microsoft), discussed this recently and posed a bit of a puzzle, and if even he and other highly-experienced people can’t agree on proper solutions, what hope is there for a poor slob like me? :-P

Leave a Reply

Your email address will not be published. Required fields are marked *