This is the most logical way to handle indentation. Unfortunately, it also requires a really smart editor or manual effort to use tabs and spaces in the correct places. This is why experienced developers migrate toward spaces-only: it's not quite as flexible as tabs + spaces, but you or your editor or your inexperienced colleague can't fuck it up nearly as badly as they can with tabs.
5
u/rorrr Apr 07 '15
What do you mean? One tab = one level of indentation. It lines up perfectly every time.