Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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.. ;=)


    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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (9)
As of 2018-07-16 12:57 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (335 votes). Check out past polls.