4 ms·
Depends on who you ask and to what lengths you're willing to go.
by ok123456 2y ago
Depends on who you ask and to what lengths you're willing to go.
- exe34 2y ago"Python is used by Intel, IBM, NASA, Pixar, Netflix, Facebook, JP Morgan Chase, Spotify, and a number of other massive companies. It's one of the four main languages at Google, while Google's YouTube is largely written in Python. Same with Reddit, Pinterest, and Instagram" "Python is used heavily in academic research, particularly in bioinformatics, biology, and mathematics. It is the standard introductory language for many university computer science programs." https://brainstation.io/career-guides/who-uses-python-today https://brainstation.io/career-guides/who-uses-python-today Misquotation alert: I'm not claiming python is perfect for everything. There are times it makes sense to use something else. Not-short-scripts isn't it.
- Brian_K_White 2y agoIt's utter garbage outside of a controlled environment. Youtube can use it because Youtube will have an official environment and there will be no such thing as a script that was written in one version or with one module installed that then breaks at run time. The impressive size of the big users actually works against proving how great it is. Use the official version inside Google or Netflix: ok. Use in a package where the package manager ensures all dependencies and versions are met exactly: ok Use by writing and immediately using and discarding today: ok Write a random script and expect it to work in 6 months or on any other machine or god forbid another platform: forget it. python is great for the author and miserable for everyone else
- exe34 2y agoI assume the last time you used python was during the transition from 2 to 3? I haven't had any problems with versions over the last 5 years. conda is a really good way of ensuring you get the same environment if you need to freeze versions.
- ok123456 2y agoconda is a non-standard python tooling with canned environments with packages that are years out of date, a constraint solver in its package manager that randomly seems to run forever, and it's a commercial product. Of all the Python packaging solutions, it's the worst. The fact that so many people use it, as a matter of course, is further evidence of the fragility and complexity of maintaining Python tooling and codebases in general. The fragility of Python packaging is how we arrived at the current status quo of needing a CD/CI setup for hello-world.py. My statically-linked Fortran executables? I could keep copying around the same binaries until people switched architecture.
- exe34 2y agohello-world.py works out of the box!
- Brian_K_White 2y agoIt was true long before 3 was even started. But assume as you please. Enjoy your python, I'm not taking it from you.
- exe34 2y agothat's what I mean, they haven't had any massive break in backwards compatibility for a while. I did get annoyed by it before and attempted to create my own language/platform - if need be, I have a basic setup of imgui/chibi/c-ffi that I could expand into something useful for scripting that isn't likely to break, but honestly it's such a massive amount of work compared to a conda env so I don't mind sticking with python for now. there's also micromamba which is a lot faster for the solver.
- Brian_K_White 2y agoI can't hear you over the sound of pycache directories getting created just anywhere a .py file happens to exist. What genius thought that was even remotely sane? :) You can't hear but I'm being more lighthearted now but really I have no use at all for that shit language. (yes I know it's configurable, but it also only behaves reasonably when & where that config is in place, not by default. It's opt-out vs opt-in)