On Thursday, 9 April 2015 at 18:28:46 UTC, Marco Leise wrote:
Am Wed, 08 Apr 2015 13:05:01 +0000
schrieb "Szymon Gatner" <[email protected]>:

On Wednesday, 8 April 2015 at 12:34:06 UTC, Paulo  Pinto wrote:
>
> Since then, I always favor spaces over tabs. One space is > always one space.
>

Not to start a war but agreed ;) 2 spaces (specifically) FTW!

You see, there's the reason why we tab users use tabs.

Even though I will probably get the same response as shown here [1], I consider the most sensible (and imho the technically correct) way to be both: - Tabs for indentation, because one tab is always one indentation level, regardless of the actual visual width. - Spaces for alignment, because inside one indentation level you should be able to align code without interacting with the indentation level at all, keeping the two separate.

This way allows any reader to always have correct indentation and alignment, while still being able to choose how wide one indentation level should be rendered as.

As such: Smart Tabs FTW!

[1] http://www.emacswiki.org/emacs/SmartTabs

Reply via email to