Thoughts about python 4.x
I know that there is no such thing as python 4.x versions but what if there where. I think by the time python is done with it’s 3.x versions, python will be faster then Java lol. Any opinions/ thoughts.
38 comments · 18% upvoted · other discussions
I want all the legacy code that was made before the style peps, classes in UpperCase (like datetime), function names that are not in snake_case, etc, to be cleaned up.
I feel like it's a huge headscratcher and confusing for newbies to have the standard libraries not following the languages own style guidelines.
sausix 2 points · Sep 2023
Some packages made aliases and dirty tricks to support OOP or other conventions. Turtle for example. The standard lib could rename their classes and functions and add aliases. That would work until someone would compare a class name by string directly.
But to be honest. Beginners are far away from PEP8 and naming conventions. They will probably learn OOP before following naming conventions. Don't you think?
IcedThunder 6 points · Sep 2023
I think programming language should adhere to its own official style standard so as to reduce confusion for newcomers.
"Hey, here's a convention to help separate functions from classes, but a bunch of regular stuff you're going to use a lot doesn't adhere to it" is dumb.
I believe this standard is good to help new people, and thay by not having the standard libraries adhere to it, it adds unnecessary confusion.
Wether or not they learn OOP has nothing to do with anything. It's about having an entirely consistent language that is suppose to be easy on beginners.
And if we're gonna introduce a major version update, it's the perfect time to correct that kind of thing.
PhoenixStorm1015 2 points · Sep 2023
Idk the resources I used and the docs I read very much encouraged proper stylization.