Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Heh, but it's only conventional to not modify all caps variable, it's asking for trouble 😏
-
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.
-
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.
-
@rooter Yeah I don’t like doing that but sometimes I’ve had to, it feels wrong but powerful
-
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".
Related Rants
Python :
joke/meme
python