• notabot@lemm.ee
        link
        fedilink
        arrow-up
        11
        arrow-down
        3
        ·
        3 years ago

        Not the previous commenter, but using indentation as syntax rather than an aid to understanding tge program structure is just painful when you come from any more conventionally structured language. The meme above may be an exaggeration, but it’s not much of one. An IDE can probably help, but needing one just to be able to more easily read the code is excessive.

        That said, it’s a popular language and there are plenty of useful libraries, so sometimes the trade off is worth it.

        • kevincox@lemmy.ml
          link
          fedilink
          arrow-up
          5
          ·
          3 years ago

          To each their own. If I’m going to bother intending all of my code may as well benefit from it. I don’t actually use Python that much and don’t love it but I am a fan of significant indentation. But most honestly it isn’t a big deal either way. While I would be happier if my preferred language had significant indentation it is very unlikely to be something that convinces me to use a language or not.

        • Marcbmann@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 years ago

          Coming from C++ and Java over to Python was challenging. The IDE I used at the time also did not like when I used tabs instead of spaces, which drove me up a wall.

          I will say that for beginners where python is their first language, it does a good job at reinforcing good practices for writing legible code.