Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: poll ideas quest 2007

by sasdrtx (Friar)
on May 08, 2008 at 11:10 UTC ( #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 (Monsignor) 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
Node Status?
node history
Node Type: note [id://685435]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2016-06-26 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (329 votes). Check out past polls.