• softwarist@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 个月前

    If anything, that sounds like an argument in favor of significant indentation, not against it. Humans and machines read differently, yes, which is why we tend to add whitespace and indentation to code even for programming languages where it’s not significant. We do that expressly because it makes the code more human-friendly, so it’s quite the opposite of ignoring their differences.

    • Shanmugha@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 个月前

      No, it is an argument against it. We indent code so that it is more comfortable to read it, not in order to make it easier to understand

        • Shanmugha@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 个月前

          Lol. Go on, show me how it is easier to understand structure of the code when I am 3 levels down, first two are already out of sight

          • softwarist@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 个月前

            That’s not a coherent argument, but you don’t have to agree with me. I think this discussion has run its course.

            • Shanmugha@lemmy.world
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              4 个月前

              What a nice way to say “I can’t back my standpoint up”. Anyway, do have a good day