Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: The One True Style of indentation:

by jlongino (Parson)
on Apr 14, 2002 at 17:36 UTC ( [id://158961]=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:

I don't personally know what Petruchio intended, but in my opinion (FWIW) it should depend on how your editor saves the resulting file. If it preserves the TAB character, vote TAB. If it converts the TAB to spaces, vote the number of spaces.

I configure TextPad so that it converts new and existing tabs to 3 spaces, thus I voted 3 spaces. That way it doesn't look crappy if it's printed using some other editor than I used to create it. Unless, that is, it looked crappy to begin with or some formatting issue other than the default tab size comes into play.

A related followup poll suggestion: The one true line length.   :-)

--Jim

  • Comment on Re: Re: The One True Style of indentation:

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-19 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found