Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: The One True Style of indentation:

by darksym (Beadle)
on Apr 18, 2002 at 03:01 UTC ( #160098=note: print w/replies, xml ) Need Help??


in reply to The One True Style of indentation:

At the risk of being a freak, I must say, I don't care for tabs or two spaces. Two spaces is too few. A tab is a tab of a lot too much, especially for most normal terminals. It doesn't help that tabs are essentially variable width either.

Tabs mixed with spaces are even worse. If there are to be leading spaces, they should all be spaces.

And can we please get ping-pong line styles working? This left to right stuff is killing me. j/k

Example:
use pingpong;
#!/usr/bin/perl
;"n\dlroW olleH" tnirp
# ^ Much better

Replies are listed 'Best First'.
Re: Re: The One True Style of indentation:
by Dr.Altaica (Scribe) on Apr 18, 2002 at 07:28 UTC
    Have you seen the Boustrophedon Text Reader I've wanted to write a Boustrophedontext widget for perlTk but have do many progects allready.
    |\_/|
    /o o\
    (>_<)
     `-'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://160098]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2017-04-27 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (512 votes). Check out past polls.