• aloofPenguin@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    3
    ·
    14 hours ago

    This is the one thing I hate about python, because the spacing would differ between editors. I used vim to create the files on one system, and geany to edit them on another. Via uses 8 spaces in a tab (at least for me), while geany uses 4. This makes python mad, and drives me crazy.

    Also, the rules for whitespace separation between things like loops, methods, and the rest of the code is annoying/ wierd (at least to me).

    • who@feddit.org
      link
      fedilink
      English
      arrow-up
      13
      ·
      12 hours ago

      Via uses 8 spaces in a tab (at least for me), while geany uses 4.

      You know that editors let you change their defaults, right?

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        10 hours ago

        and that indentation defaults in decent editors are usually language dependent. I’m not familiar with these editors, but… come on - if they use one default for all files, OP should use a better tool.

      • aloofPenguin@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        11 hours ago

        Yes, but I don’t normally program in python, so I never did. When I had to, I never thought of changing it (it wasn’t for long anyways and was less of a thought out decision to do programming in vim)