• 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.
      • 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
      91 month ago

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

    • lemmyreader
      link
      English
      71 month ago

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