• NBJack@reddthat.com
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    How much of that python is written in a shared codebase with multiple active contributors? When was the last time you refactored a module?

    Tabs and spaces are invisible. Semicolons are not.

    • sajran@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      A vast majority of the code in question is the code I’ve written for my work projects with multiple active contributors and refactoring is very common too. We all like to shit on Python for various reasons but no one in my environment ever complained about whitespace.

      Like I said, I don’t think whitespace is perfect as a part of syntax but I’m much more likely to forget a semicolon than a proper indentation and this applies to any language. I guess it’s not universal tough, because you can often see code with messed up indentation on online forums etc. TBH this is just unthinkable to me, indentation is absolutely necessary for me to be able to read code and reason about it. When I’m thinking about blocks and scopes it’s not because I counted semicolons and braces, it’s 100% indentation.