Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: The One True Style of indentation:

by Zorn (Initiate)
on Oct 27, 2002 at 05:56 UTC ( #208316=note: print w/ replies, xml ) Need Help??


in reply to Re: The One True Style of indentation:
in thread The One True Style of indentation:

Absolutely. I use

function(arguments) { if (condition) { ... } else { ... } }
Brace placement is far more important to me than indentation, though I use tabs for that with four spaces as my second choice, if, for instance, the tab key breaks or starts printing Ős. That's never happened, but if it did I'd use four spaces and buy a new keyboard. But something like
function(arguments) { if (condition) { ... } else { ... } }
is unreadable.


Comment on Re: Re: The One True Style of indentation:
Select or Download Code
Re^3: The One True Style of indentation:
by Aristotle (Chancellor) on Oct 27, 2002 at 14:29 UTC
    Absolutely. If you want to do it right, it would have to look like this:
    function(arguments) { if (condition) { ... } else { ... } }

    Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-11-01 13:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    If a safe, affordable anti-ageing treatment that extended life indefinitely were to become available, would you take it?



    Results (4 votes), past polls