Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: poll ideas quest 2007

by sasdrtx (Friar)
on May 08, 2008 at 11:10 UTC ( [id://685435]=note: print w/replies, xml ) Need Help??


in reply to Re: poll ideas quest 2007 (holy war)
in thread poll ideas quest 2007

Brace placement style. A lot of people tend to be very religious about this.

# The best way... if (something) { do something; do some more; } else { whatever; whatever; } # The acceptable style: if (something) { do something; do some more; } else { whatever; whatever; } # The classic K&R style (ugh): if (something) { do something; do some more; } else { whatever; whatever; } # The conversational style... if (something) {do something; do some more} else {whatever; whatever}

I'm not sure if there's any major variants that I've missed.

sas

Replies are listed 'Best First'.
Re^3: poll ideas quest 2007
by Tux (Canon) on May 18, 2008 at 19:01 UTC

    The best, and only acceptable way is, of course:

    # The best way... if (something) { do something; do some more; } else { whatever; whatever; }

    Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-20 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found