Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?
[stevieb]: beech already found a thing I don't like... it'll take time to sort out some new methods to deal with little/big endian ;)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-22 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (336 votes). Check out past polls.