Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: No Hard Tabs in Code

by Anonymous Monk
on Jul 02, 2010 at 06:43 UTC ( #847674=note: print w/replies, xml ) Need Help??


in reply to No Hard Tabs in Code

I used to work at a shop that had standardized on tabs. It is fine when all your co-workers are using the same standard. Any decent editor will give you lots of control over this sort of thing.

One pointer that may be of interest to vim users. Turning on visual whitespace makes it much easier to avoid mixing tabs and spaces in the one file.

In my .vimrc file:

set list set listchars=tab:,trail:,extends:>,precedes:<

displays both tabs and trailing spaces.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2021-10-23 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (87 votes). Check out past polls.

    Notices?