News for hackers. Stuff that matters.
Re:Python with Braces by leni536 on Monday July 08, 2024 @04:43AM (#40903702)
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.
Re:Python with Braces by shakna on Monday July 08, 2024 @05:59AM (#40904053)
Pretty sure the Linux source tree looks fine at a tab width of 2 instead of the blessed 8.
Re:Python with Braces by ahartmetz on Monday July 08, 2024 @08:26AM (#40904799)
Emacs even "helpfully" auto-converts <tab width> spaces to one tab, no matter where.
Re:Python with Braces by arp242 on Monday July 08, 2024 @12:06PM (#40906593)
It'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.