Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Spaces vs Tabs

by shmem (Chancellor)
on Jun 16, 2017 at 16:19 UTC ( [id://1192958]=note: print w/replies, xml ) Need Help??


in reply to Re: Spaces vs Tabs
in thread Spaces vs Tabs

The idea that you can only choose one is the root of the problem, IMO.

I'd say that the root of the problem is unfamiliarity with old typewriters, and the fact that the convention of tab stops defaulting to 8 spaces can so easily be overridden in the wrong way, yielding disastrous results.

Tabs are indentation, spaces are alignment.

The other way round that is. On the old typewriters, you could set stops for alignment of data skipping thus a fixed amount of spaces, mainly for filling out tables; whereas the indentation in typesetting e.g. at the beginning of a paragraph was done with spaces.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2024-04-23 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found