Re:But no, 80-column terminals in 2020 isn't “reasonable” an...
by PunksATawnyFill on Saturday May 30, 2020 @12:18PM
(#23362193)
Yep. I have yet to hear a coherent argument against tabs.
It’s such a tiresome squabble.
Re:But no, 80-column terminals in 2020 isn't “reasonable” an...
by sam_lowry_ on Saturday May 30, 2020 @03:02PM
(#23363688)
Douglas Crockford made an interesting argument in favour of spaces: https://www.youtube.com/watch?v=En8Ubs2k1O8
Re:But no, 80-column terminals in 2020 isn't “reasonable” an...
by ric2b on Saturday May 30, 2020 @06:01PM
(#23365151)
Vertical alignment of related lines.
Re:But no, 80-column terminals in 2020 isn't “reasonable” an...
by dkersten on Saturday May 30, 2020 @08:58PM
(#23366266)
If you indent with tabs, you can still align with spaces for vertical alignment.
Re:But no, 80-column terminals in 2020 isn't “reasonable” an...
by PunksATawnyFill on Sunday May 31, 2020 @10:44AM
(#23369880)
That’s the whole point of tabs. How is this an argument against them?
If I'm glancing at some code on my phone, I can have it set to two space tabs to maximize the amount that fits on screen. If I'm on my desktop they're four spaces because my screen is huge and more visibly apparent indentation is valuable. Same editor, same data. If it's a shared codebase and someone else likes 8 space tabs, 6 space, or whatever they want (13 space? no kinkshaming here...).
To me that is a significant objective advantage of tabs, where the only advantage spaces seem to offer is that you can align text on multiple levels of indentation.