Apparently, PragDave recently questioned the conventional wisdom about GOTO considered harmful (does this mean all "X considered harmful" articles will be retrospectively struck off the record?). Ivan Moore's given an example as to why the rule of "a single exit point" sucks, and I agree. Another reason for multiple exit points is guard clauses. Code units, [...]
Guard Clause Considered Helpful
April 3rd, 2006 · 1 Comment
Tags: SoftwareDev
