9
Comments
  • 3
    Heh, but it's only conventional to not modify all caps variable, it's asking for trouble 😏
  • 2
    every variable is a constant if you never change it
  • 0
    Python decided to be an interpreted script language and so it's similar to JS and other pragmatic languages which don't care about things like real constants.
  • 1
    This decision probably came from the camp of people who believe that simplicity is the highest goal and would sacrifice correctness, safety and performance for it any time.
  • 0
    @rooter Yeah I don’t like doing that but sometimes I’ve had to, it feels wrong but powerful
  • 0
    The ability to add stuff to external libs is normally provided by extensions in many languages. You don't need to give up access modifiers for that.

    It's so common for people to justify shortcomings with "freedom".
Add Comment