develooper Front page | perl.perl6.language | Postings from December 2008

Re: Support for ensuring invariants from one loop iteration to the next?

Thread Previous | Thread Next
From:
Jon Lang
Date:
December 18, 2008 18:46
Subject:
Re: Support for ensuring invariants from one loop iteration to the next?
Message ID:
ef30550b0812181845g2b6b7cb9x9d4d69c5359b5bb5@mail.gmail.com
Aristotle Pagaltzis wrote:
> And it says exactly what it's supposed to say in the absolutely
> most straightforward manner possible. The order of execution is
> crystal clear, the intent behind the loop completely explicit.

If it works for you, great!  Personally, it doesn't strike me as being
as straightforward as putting a "last unless" clause into the middle
of an otherwise-infinite loop; but then, that's why Perl (both 5 and
6) works on the principle of TIMTOWTDI: you do it your way, and I'll
do it mine.

-- 
Jonathan "Dataweaver" Lang

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About