by dkdbejwi383 · 5y ago · 0 comments
Python's goal that "there should be one obvious way to do anything" is admirable, but doesn't seem like it's lived up to in any way.
Say what you will about Golang, but I do like the fact that it won't even compile if you don't follow the mandated codestyle. I don't want to have to think about stuff like that when I have actual problems to think about.
I don't think that was ever a serious goal, it's just that initially Python competed with Perl, and Perl's slogan was "There's More Than One Way To Do It". Python didn't have as many different ways of doing the same thing in the language itself, and Python people liked that, so its slogan became the opposite.
Since Python 2 and 3 there are already far more different ways to do things in the language (like several ways of string formatting, etc) so it's more of a historical thing. And it was never the case for tooling.
I don’t find there to be a lack of standard tooling. Rather, there’s too many options to choose from you might say. It’s what success looks like, I guess.
I do expect that the state of dependancy management is going to change in the next few years because:
- MS has entered the game
- PEP are being worked on a lot on packaging lately
- shiv, briefcase and nuitka are getting traction
- poetry and dephell are very qualitative tools
- __pypackages__ is on the way (try it with pdm)
- pyflow show a very interesting approach to installing python
- python 2 is dead for good
- wheels are now ubiquitous