in reply to Re: An exploration of higher-level-language approaches to the "First all-zero row in an NxN matrix" problem (goto Considered Harmful)
in thread An exploration of higher-level-language approaches to the "First all-zero row in an NxN matrix" problem (goto Considered Harmful)
... if you want to do any kind of formal proving of your program, life becomes much, much easier if your blocks of code have exactly one entry point, and exactly one exit point.
Certainly a more practical conclusion should be "functional units should do one and only one thing, and that thing well" instead of "avoid obvious flow control at any language level lower than the language primitive which enables functional units". Otherwise you have trouble with if.
Improve your skills with Modern Perl: the free book.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: An exploration of higher-level-language approaches to the "First all-zero row in an NxN matrix" problem (goto Considered Harmful)
by JavaFan (Canon) on Sep 25, 2011 at 21:59 UTC | |
by chromatic (Archbishop) on Sep 25, 2011 at 23:31 UTC |