in reply to Perl style question: loops with postcondition
Hello,
I myself find 1 and 2 to be easier to read and understand than 3. The reasoning is simple, I try to make grammatically correct English sentences as much as possible. And when it comes to decide between 1 and 2, I would go for 1, as it actually makes use of the parantheses of while, as opposed to 2. (Disclaimer: but that's just me.)
--
Alper Ersoy
|
|---|