• @T156
    link
    31
    edit-2
    2 years ago

    That’s why you get the best of both worlds, and combine them to use tabspaces. Everyone will hate you equally, achieving true equality in the process.

    • @mundane_party
      link
      252 years ago

      Tab characters are space efficient and configurable for each person in their editor. Space characters are consistent between developers.

      Solution: each tabspace indent is a random width, making it both inconsistent and non-configurable. Also, each character is the size of at least four regular characters, so it’s not even space efficient

    • @rooster_butt
      link
      32 years ago

      Honestly the best solution is tabs for indentation and spaces for alignment.

  • Anarch157a
    link
    132 years ago

    Create a language where tabs are used for indentation while comments are formed by one space character at the beginning of a line, followed by a tab. Exactly eight spaces at the beginning of a line means that line is continuation of the previous one.

    Maybe I’ll start an Anarchy Programming sublemmy.

  • Eavolution
    link
    fedilink
    112 years ago

    The only solution is to use a curly brace language and write everything on one line.

    • draggeta
      link
      fedilink
      52 years ago

      The real question is spaces around curly braces or not?

      • @T156
        link
        22 years ago

        Have spaces around curly braces modify the behaviour. That way, you can incorporated both.

  • DonjonMaister
    link
    fedilink
    72 years ago

    I have no problem with either. But I do have a problem with people who use the space bar instead of the tab key.

    • @zephyr
      link
      22 years ago

      More like expand me

    • @IHawkMike
      link
      22 years ago

      You just reminded me my brothers and I used to use alt+255 back in the DOS days to rename files that we didn’t want our parents opening. 😁

    • GVasco
      link
      fedilink
      12 years ago

      A bit useless if there’s no character in front of the lead

  • syphe
    link
    fedilink
    42 years ago

    My workplace almost came to blows as every 2nd source file was auto-formatted to varying levels of spaces.
    I was told this after I complained to my manager that someone came into my project fresh and started autoformatting our code to 1 space on every file they worked on.

    • @emptyother
      link
      12 years ago

      Understandable. When the code is already written, one follow its defaults no matter what ones own preferences are. Thats just common courtesy.

  • Mike835
    link
    fedilink
    31 year ago

    I’ve always found it weird people call it white spacing when most coders use night mode on their ide, shouldn’t it be black space?

  • @Lachy
    link
    English
    21 year ago

    My indentation is secretly the actual program written in the whitespace programming language.