• 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.
  • @[email protected]
    link
    fedilink
    -161 month 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

    • @AnActOfCreationOP
      link
      231 month ago

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

      • @[email protected]
        link
        fedilink
        21 month 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
      English
      91 month ago

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

    • lemmyreader
      link
      fedilink
      English
      71 month ago

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