Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Spaces vs Tabs

by zentara (Archbishop)
on Jun 16, 2017 at 15:32 UTC ( #1192953=note: print w/replies, xml ) Need Help??


in reply to Spaces vs Tabs

get paid more for spaces than tabs

It makes sense, since the technocrats probably analyze code by how much actual text-code there is. Since a space is actually holds a character space, your code's character count is higher with spaces.

What peeves me is the little useless dots many editors insert into spaces to show they are not used.


I'm not really a human, but I play one on earth. ..... an animated JAPH

Replies are listed 'Best First'.
Re^2: Spaces vs Tabs
by Discipulus (Monsignor) on Jun 16, 2017 at 16:24 UTC
    I think I always used tabs, but seems that my primitive editor of choice convert them into 2 (?!) spaces.

    Anyway I'll pass all my codebase through  perl -i.bak -e "s/\t+/' ' x (length($&) * 8 - length($`) % 8)/e" and monday I'll ask my boss for more money.. ;=)

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

      Don't sell yourself short - go for 32 instead of 8. Have to justify that widescreen monitor somehow.

        LOL! Water came out of my nose :D

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-10-23 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (126 votes). Check out past polls.

    Notices?