• Linus Torvalds added hidden tabs to Kconfig to challenge parsers that can’t handle them.
  • Tabs were intentionally added to the common Kconfig file for page sizes to expose faulty parsers.
  • Torvalds believes parsers unable to handle tabs shouldn’t be parsing kernel Kconfig files, aiming to force fixes.
  • @casual_turtle_stew_enjoyer
    link
    -1622 days ago

    I will fight tooth and nail with anyone who agrees with this decision. Not because Torvalds did it, but because fuck you use tabs you goddamn neanderthals

    • @[email protected]OP
      link
      fedilink
      2222 days ago

      Notice Linus doesn’t use tabs; he just thinks the parser shouldn’t die when it sees them.

      • @casual_turtle_stew_enjoyer
        link
        221 days ago

        Yeah and that makes sense. But I still choose to die on the hill of tabs or nothing. That’s just how anal I am about my code.

        And I realize there are niche scenarios where tabs don’t make sense, but I could care less about those. Afaik, even assemblers support tabs. If you have tabs, I feel it is almost sacrilegious not to use them for indentation.

    • JackbyDev
      link
      fedilink
      English
      922 days ago

      This isn’t about using one or the other, it’s about not exploding when you encounter a tab.

    • lemmyreader
      link
      fedilink
      English
      722 days ago

      Your word choice reminds me of Linus before he went into this kind of rehab thing.