Menu

tabs vs. spaces

Developers
Anonymous
2004-07-01
2004-07-02
  • Anonymous

    Anonymous - 2004-07-01

    I know this, like bracket style and hungarian notation, can start holy wars, but I just noticed it and I thought I'd bring it up.

    I noticed you're currently using tab characters, and I'm used to using 4 spaces.  I'm assuming that you have your tabwidth set to 4, otherwise you probably would have noticed this before I did. 

    It'd be best to decide this one early, before there is enough code that changing all the 4-space sequences to tabs or tabs to spaces would be troublesome. 

    I'm willing to go back to tabs, but since I started using the 'tab key inserts spaces' option, I've been happy with it.  The only minor disadvantage is in backspacing, which I rarely do since in any editor I've ever used that has unindent (shift-tab) can remove the 4 spaces inserted by the tab key in my preferred mode.

     
    • Mike Hamlin

      Mike Hamlin - 2004-07-02

      Yeah, I'll change to tab key inserts spaces.

       
    • Anonymous

      Anonymous - 2004-07-02

      I wrote a converter & ran it on the source tree, if you notice any irregularities I made sure everything was current before I ran tab2space. Make sure you check out a fresh copy, I just committed the space-ified code.

       
    • Mike Hamlin

      Mike Hamlin - 2004-07-02

      No, I don't see any irregularities.  Thanks for converting the tabs.

       

Log in to post a comment.