Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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


Comment on Re^2: poll ideas quest 2007
Download Code
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: (13)
As of 2014-12-20 18:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (97 votes), past polls