OOPs Tip

Methods return booleans to indicate pass/fail had better be doing something very simple. When In doubt throw the Exception instead :).

Added this today (Oct 15th)
Exceptions over Status returns, a well-thought out argument

I don’t agree with Joel Spolsky on Exceptions, he prefers a true/false/null/Error Value scenario?

Discussions

Advertisements