Search This Blog

Tabs or Spaces?

When I write code I prefer tabs over spaces because:

1. Lazy: clicking tab is one action, but if you used spacing you need more than one click; at least two clicks on space bar which is somewhat unpractical.

2. File Size: tab is one character but spacing will be two or three characters which will increase the source code file size.

3. Configurable: you can change the width of tab in your code editor or IDE, so it can be more comfortable in reading source code.

The most viable reasons is less clicks. If you want to get new posts, make sure to subscribe to Value In Brief by Email.