|
In my student days, one of the ACM periodicals (it might have been one of the SIG newsletters; I don't remember) had an article with the title 'The rightward migration of source code'. The problem became very apparent very soon after the introduction of 'structured programming', until programmers learned to distinguish between 'use' and 'overuse' of the concept.
|
|
|
|
|
OriginalGriff wrote: If it's
if (!validity check) return errorcode;</blockquote> Sure, but I burned my fingers on that one: It took me a day of debugging to realize the return was not effectuated until after the execution of the 'finally' clause in the enclosing exception block.
(The effect of the 'finally' clause taking for granted that all structures had been successfully updated, didn't manifest until far later in the execution order; that's why the problem took so long to find.)
|
|
|
|