Noooo, we are doomed!
Announcement
Collapse
No announcement yet.
Linus Torvalds Injects Tabs To Thwart Kconfig Parsers Not Correctly Handling Them
Collapse
X
-
Originally posted by c117152 View Post
Tabs enable elastic tabstop.
- Likes 16
Comment
-
Originally posted by DanL View PostWhat is the point of this passive-aggressive nonsense?
I mean who does that to a 3rd party project?
Who just randomly starts changing tabs to spaces in a project that has thoroughly established precedent for their style guides? Its a kernel faux pas, I mean I'd be upset if someone came in my project and changed spaces to tabs because their IDE autochanges 8 spaces to a tab and they didn't want to change that. Anyway its supposed to be light hearted rebuke even though it comes off as a bit childish but in no way would I call it aggressive.
- Likes 19
Comment
-
Originally posted by curfew View PostThis time he's wrong. Tabs have no purpose in anything. It's an ancient gimmick aimed at saving meaningless amounts of storage space and computing resources by inventing a silly character that can substitute multiple somewhat redundant characters, while also including annoying side-effects, and sometimes even bugs as evident. Those days are gone, have been for 30 years already.
- Likes 6
Comment
-
Originally posted by curfew View PostTabs have no purpose in anything. It's an ancient gimmick aimed at saving meaningless amounts of storage space and computing resources by inventing a silly character that can substitute multiple somewhat redundant characters, while also including annoying side-effects, and sometimes even bugs as evident. Those days are gone, have been for 30 years already.
It's worth understanding why the concept of tab stops was retained in the transition from typewriters to word processors, and why the 'word processors' that programmers use to write their code continue to include tab stop functionality.
- Likes 25
Comment
-
Pretty much the only thing going for the current Kconfig format is that it's compatible with existing tools, but if backwards-compatibility doesn't matter, then just replace it. Seriously, it's horrendous:
False/disabled values are identical to unset values except for a #comment; having CONFIG_SOMETHING=n would be so much easier to parse and understand. Mutually-exclusive selections store each possible selection as a separate boolean, which makes the config so much larger and more cluttered than it needs to be. Unset variables automatically copy the default value, but don't update that default value if the default ever changes, which makes rolling out changes much slower and more manual.
- Likes 2
Comment
-
Originally posted by panikal View PostIt leaves a commit trail and advertises to the people, who he obviously doesn't know who they are and doesn't want to take the time to find out, that their nonsense of trying to 'workaround by changing the source' instead of 'fix the parser' won't be allowed.
I mean who does that to a 3rd party project?
Who just randomly starts changing tabs to spaces in a project that has thoroughly established precedent for their style guides? Its a kernel faux pas, I mean I'd be upset if someone came in my project and changed spaces to tabs because their IDE autochanges 8 spaces to a tab and they didn't want to change that. Anyway its supposed to be light hearted rebuke even though it comes off as a bit childish but in no way would I call it aggressive.
- Likes 4
Comment
-
Originally posted by EphemeralEft View Post
If Linus had just rejected the patch then you'd be right, but he went out of his way to break existing tools for no good reason. If what the submitter did was a faux pas, then what Linus did was a fiasco.
Anyway I think you misunderstand the definition of fiasco. It might have unintended future consequences, but this is neither out of place for Linus nor embarrassing for him and achieved his goals, namely ensuring that people won't start trying to play the 'tabs vs space' commit-war game and he won't have to parse a thousand diffs of tabs vs space changes himself because someone doesn't want to fix their parser.
- Likes 18
Comment
-
Michael, it's funny that you troll people who predicted the kernel code of conduct would be the end of Linux and that Linus no longer calling people idiots would be the end of Linux, and it's a reminder to us all of who
the actual idiots were, and I get that they are amusing targets, but at some point we should move on.
- Likes 3
Comment
Comment