Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Perl style question: loops with postcondition

by aersoy (Scribe)
on Jun 28, 2002 at 09:49 UTC ( [id://177974]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://177974]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2025-05-12 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.