Indentation: Tabs vs. Spaces

Auteur: 
roychri

This is one of these archaic question.

Short answer: Spaces, and only spaces.

Long answer:

Origins
The tab key on the keyboard seem to have first been introduced with typewriters and then with computers. The original idea was not about indenting complex code structure. A long time ago, some people started to use tabs for indentation because of the disk space it was saving.

Concept

read more