On Jul 12 2001, Kurt Edmiston wrote:
> I guess I'm just curious to know what other more experienced Perl
> programmers think about this. I still adhere strictly to the "one way in,
> one way out" philosophy, mainly for the sake of readability. But I
> understand how much easier it can make a programmer's task to write
> something like "if (some condition) { exit; }"
I also tend to abhor programs with more than one entry/exit
point, for they make their proof of correctness much harder
(or, if you're not into the more theoretical side of the
world, s/proof of correctness/auditing/).
Of course, with throw-away scripts, I don't have such worries,
but if the thing is a bit longer than a couple of pages, I try
to make it as strict as possible.
[]s, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito - [EMAIL PROTECTED] - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=