Everytime I have to use some python script I fucking groan. God, what a pain in the ass python is...

    • yoink [she/her]
      ·
      edit-2
      2 years ago

      literally this, as well as calling the function with every print instead of calling the variable they're after directly unless i'm missing something entirely

      • captcha [any]
        ·
        2 years ago

        Being able to externally mutate the internals of a function is bad and shouldn't be allowed in a language.

    • captcha [any]
      ·
      2 years ago

      The point of my example is this shouldn't be possible. Local static variables shouldnt be publically available globally. (Local static variables shouldn't exist ever fwiw).

      Python is one of those languages where you'll be fine as long as you never use 95% of its features.