• Anarch157a@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year 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.

  • Mike835@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    1 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?

  • T156@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year 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@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year 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

  • Lachy@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

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