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 (Canon) 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