Tom Christiansen writes:

> Look closer: do { ... } while does not require the reader to 
> scan down to find out the condition *BEFORE* the loop is
> entered.  With an if, it does.

I believe what he's saying is that do { ... } requires the reader to
scan down far enough to see if there is a while or an if at the end.
(I think I'd be scared of someone who doesn't always read that
thoroughly just out of habit. ;-)

No, I wouldn't ever write a multi-line do { ... } with a trailing if.
But dictating style would be un-Perl-like.

-- 
There is no TRUTH. There is no REALITY. There is no CONSISTENCY. There
are no ABSOLUTE STATEMENTS. I'm very probably wrong. -- BSD fortune(6)

Reply via email to