Is there a recommendation on what is most appropriate? Tab character ( \t
) or spaces?
From what I can see, you usually have conventions by language:
- Ruby : two spaces
- Delphi : two spaces
- Python : four spaces
- Java : tab
- etc
In the case of Python we have a particularity, the indentation is taken into account by the compiler, but it is smart to recognize both spaces and tabs.