CodeQualityAndReadability icon indicating copy to clipboard operation
CodeQualityAndReadability copied to clipboard

single entry, single exit

Open kbilsted opened this issue 9 years ago • 1 comments

("Understanding Computers: Today & Tomorrow", 2009 Update By Deborah Morle)

An extremely important characteristic of the control structures just discussed is that each permits only one entry point into and one exit point out of any structure. This property is sometimes called the one-entry-point/one-exit-point rule ... Th[is] convention makes programs much more readable and easier to maintain.

////

kbilsted avatar Jul 24 '15 08:07 kbilsted

http://programmers.stackexchange.com/questions/118703/where-did-the-notion-of-one-return-only-come-from

kbilsted avatar Aug 04 '15 12:08 kbilsted