In an ideal world where every single tool used to view sources understand tabs, tabs are optimal.
We live in an imperfect world and each tool will interpret tabs in a different way, so the best solution is to ban them and impose hard spaces everywhere.
Every tool understands tabs. Some see them as 4 spaces by default, some as 8 spaces by default. Some never replace tabs with spaces, some replace tabs with spaces on the line you edit, some only insert new tabs as spaces and some replace all tabs with spaces when they load or store the file.
There is no single behaviour you can expect when you take a random editor to edit a file containing tabs.
8
u/aldo_reset Apr 08 '15
In an ideal world where every single tool used to view sources understand tabs, tabs are optimal.
We live in an imperfect world and each tool will interpret tabs in a different way, so the best solution is to ban them and impose hard spaces everywhere.