You can use arrow keys to navigate in the map.
1 click (tabs) vs 4 clicks (spaces) - tab saves time, work, keyboard and your fingers
Tabs are for indentation and spaces are for spacing.
It doesn't let you mix indentation width (example: sometimes 3 spaces, sometimes 4 spaces) and thus helps with consistency.
It is impossible to layout code in a precise manner using only tabs. Spaces are required in almost every coding style, and mixing them with tabs can be confusing and lead to bad layouts.
Tabs can visualised in a way that reduces errors. Conversely, it's common to see code using spaces for indentation with off-by-one whitespace errors.
Tabs carry more semantic information than spaces. Case in point: Converting from tabs to spaces is easy but going back the other way is hard (information is lost).
One should always use whichever was declared as the project standard, regardless of personal preference.
The tab character may not work the same on all keyboard, applications and systems. The space character is universal.
Every modern code-editor already has support for tabs-as-spaces which combines the strengths of both.
Tabs use less memory
Thus, keeping up with this convention makes developer life easier.
Point three, just cause others are doing it does not mean it is good. ravenmaster
Point 2, this is a conclusion not an argument. ravenmaster
Point one, logically valid but offers nothing to the argument you can be consistant with both spaces and tabs. ravenmaster
tabs can leads to badly formatted code if different people have different conventions.
auto Var = 0u
auto LongVar = 1u
this looks 'better' as: (vertically align same col)
auto Var..........= 0u
auto LongVar..= 1u
Replacing spaces with tabs here would break the nice vertical look.
Tabs may look differently on other users computers