• 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.
  • zarkanian@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Yeah, same, but I always set my editor to insert spaces instead when I hit Tab, so that the spacing won’t be different in other environments.

    • Kid_Thunder@kbin.social
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      I apologize. I didn’t know I had replies when I deleted my post. Yeah I know you can set that behavior in some editors. And other than what I just replied with on another comment, I like tabs because I also don’t have to worry about styling guides that some set down as ‘2 spaces’ or ‘3 spaces’ or ‘5 spaces’ or whatever. It is basically just universally a horizontal tab.