Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by insanitybit on Sunday July 26, 2026 @08:01PM
(#49063635)
I don't think it is because spaces vs tabs impacts semantics.
[ Parent
| on HN ]
Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by ludwik on Monday July 27, 2026 @01:33AM
(#49065506)
Since this is a long-standing, real-world problem that linters solved, how could it not be relevant to a discussion about the usefulness of linters?
And the choice of whether to use tabs or spaces does not affect semantics. It is purely a matter of style. Indentation using tabs and indentation using spaces work in exactly the same way.
Re:Ruff v0.16.0 – Significant new updates – 413 default rule...
by insanitybit on Monday July 27, 2026 @11:14AM
(#49070852)
Because the discussion is about style enforcement and you're talking about semantics enforcement. You may as well be talking about generator comprehensions vs list comprehensions - they're two totally different things semantically.
> It is purely a matter of style. Indentation using tabs and indentation using spaces work in exactly the same way.
This isn't true. It changes how the code can be interpreted by tooling, and it changes how Python interprets the code because it's whitespace sensitive. It's also invisible. It's such an extreme example, I don't think this is reasonable to bring into the conversation for style discussions.