3 ms·
Creating a new venv, installing a few needed libraries that you know the names of with a simple command and writing a quick low-ceremony script that uses those
by pbourke 4y ago
Creating a new venv, installing a few needed libraries that you know the names of with a simple command and writing a quick low-ceremony script that uses those libraries is frictionless in Python. Doing that repeatedly in nearly every other major language is not as easy.
Some languages have a good integrated tool chain (Rust, Go) but are not as approachable and forgiving.
Some are approachable but lack the friction-free story for locating and installing 3rd party dependencies.
- teekert 4y agoPoetry is indeed very nice for that. Bit of a learning curve but then very easy to push packages to PyPI or internal things like Artifactory.
- sethrin 4y agoThe most similar language to Python is Ruby, not Rust or Go, and Ruby is better at the things you've listed. Which would bring us back to the previous point that it's not actually about ease of use. Someone else identified Ruby's fatal flaw as not having good C tooling, and I think that's probably accurate.
- mixmastamyk 4y agoRuby has odd, once unique syntax that looks strange to anyone raised on C-like syntax, including js and java. Python is similar, simply removing redundant braces. So no ruby was not better at things most folks care about, i.e. being easy to learn.
- sethrin 4y agoYou seem to have confused personal familiarity with ease of learning.
- mixmastamyk 4y agoThings that are familiar are easier to learn, it’s a fact. As someone raised on math and English notation, then industry exposure. Ruby being a odd duck did it no favors. Python definitely found footing based on its pseudocode readability. It’s gotten a bit worse recently with too many colons and features but already made it.