4
meain
7y

About the ongoing battle of tabs vs spaces, there is an option in most text editors to convert tabs to spaces ( if you press tab it insert a certain number of spaces ). Use that and you will be fine.
Also if you are contributing to other projects which could be using tabs, there are plugins that will detect if the indentation is spaces or tabs and when you press tab automatically inserts spaces or tabs accordingly

Comments
  • 1
    Yeah spaces to tabs is great. A developer I work with uses double spaces and I use 4 space tabs. It'd be nice if everyone just used tabs though as we can tell the editor how to display them.
Add Comment