Lemmy for LUS
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Dan SimmonsA to Linux and Tech NewsEnglish • 2 years ago

Linus Torvalds reiterates his tabs-versus-spaces stance with a kernel trap

arstechnica.com

external-link
message-square
22
35
external-link

Linus Torvalds reiterates his tabs-versus-spaces stance with a kernel trap

arstechnica.com

Dan SimmonsA to Linux and Tech NewsEnglish • 2 years ago
message-square
22
One does not simply suggest changing a kernel line to help out a parsing tool.
  • @mipadaitu@lemmy.world
    link
    fedilink
    English
    -14•2 years ago

    Tabs suck, because you can’t rely on them for consistent spacing and formatting. Spaces always win out.

    • @Phen@lemmy.eco.br
      link
      fedilink
      English
      22•2 years ago

      Classic “you’re using it wrong”.

      The tab people still use spaces for formatting if they want to format something. Tabs are only used for indentation.

      • @trashgirlfriend@lemmy.world
        link
        fedilink
        English
        1•2 years ago

        Now I’m imagining how code where someone only uses tabs for everything would look.

    • @naevaTheRat@lemmy.dbzer0.com
      link
      fedilink
      English
      8•2 years ago

      I don’t think you know what a tab means.

    • @frazorth@feddit.uk
      link
      fedilink
      English
      3•2 years ago

      How can you not rely on them for consistent spacing? It’s a tab.

    • @Magnetar@feddit.de
      link
      fedilink
      English
      1•2 years ago

      But 2 or 4 spaces?

      • @Tomato666@lemmy.sdf.org
        link
        fedilink
        English
        3•2 years ago

        Maybe we can compromise with 3?

        • @Magnetar@feddit.de
          link
          fedilink
          English
          2•2 years ago

          Heretic!

          • @Tomato666@lemmy.sdf.org
            link
            fedilink
            English
            2•2 years ago

            Well since we ditched the old 80 column terminals I’ve always thought a laid back 7 spacer tab would be sublime. Chilled indentation and a big prime number of spaces. Very profound, what’s not to like?

Linux and Tech News

!news
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !news@lemmy.linuxuserspace.show

This is where all the News about Linux and Linux adjacent things goes. We’ll use some of the articles here for the show! You can watch or listen at:

  • The Podcast
  • The Youtube
  • The TILvids (Peertube)

You can also get involved at our forum here on Lemmy:

  • User Space Forum

Or just get the most recent episode of the show here:

  • The Show
  • 1 user / day
  • 12 users / week
  • 55 users / month
  • 259 users / 6 months
  • 3.49K subscribers
  • 1.44K Posts
  • 2.2K Comments
  • Modlog
  • mods:
  • Leo
  • Strit
  • BE: 0.18.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org