4 ms·
Sounds good in theory, but I never saw a project that used tabs and didn't look like a complete mess when viewed with the non-blessed tab width.
by leni536 2y ago
Sounds good in theory, but I never saw a project that used tabs and didn't look like a complete mess when viewed with the non-blessed tab width.
- shakna 2y agoPretty sure the Linux source tree looks fine at a tab width of 2 instead of the blessed 8.
- ahartmetz 2y agoEmacs even "helpfully" auto-converts <tab width> spaces to one tab, no matter where.
- arp242 2y agoIt's fine as long as you don't use tabs for visual alignment. Especially C projects tend to do this, and/or have a weird mix of tabs and spaces (e.g. indent by four spaces, but all eight spaces are tabs). That's just silly. But if you just always indent by n tabs, and align with spaces for visual alignment, then it's not a problem. This is what e.g. gofmt does.