Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

TorgoX (1933)

TorgoX
  sburkeNO@SPAMcpan.org
http://search.cpan.org/~sburke/

"Il est beau comme la retractilité des serres des oiseaux rapaces [...] et surtout, comme la rencontre fortuite sur une table de dissection d'une machine à coudre et d'un parapluie !" -- Lautréamont

Journal of TorgoX (1933)

Monday March 25, 2002
07:37 AM

Stepwise refinement

[ #3760 ]
Dear Log,

I don't know why it took me until this past few weeks to realize this, but stepwise refinement makes for code that's really easy to walk thru and explain. Esp. if you do it right and keep most of your subs/methods to under a dozen lines of code each. First off, it keeps things from being monolithic. And second off, if you say "wait, let's do that one bit some other way! Like this...", then you just have the whole newly revised sub there, instead of requiring the reader to "mentally patch" the old program in some more complex way, right in the middle of some great big block of uninterrupted code.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.