36
Comments
  • 1
    If you are talking about python..refer to PEP8, dont mind me otherwise..
  • 3
    ...and set your tabs to something unexpected, so whoever reads your code gets alignment errors all over the place. I just read a file that looked weird until I tried tab=3.

    Then, there´s no meta information about tab size in files, so I had to switch back and forth between sizes 3 and 4 when working with the mentioned file.

    Speaking of which, who thought 8 spaces was a good choice for GitHub, when almost everyone who puts their code there uses 4?

    Tabs would be good if some global dictator either allowed one size only, or forced people to use tabs+spaces so that there were no alignment errors when changing tab sizes.
  • 1
    @Grumpy tabs for indentation, spaces for alignment
Add Comment