4 ms·
What are some exemplary languages you have in mind that can substitute for Python?
by mehrdadn 7y ago
What are some exemplary languages you have in mind that can substitute for Python?
- malvosenior 7y agoGolang is really good at a lot of the things Python is not (concurrency, package management, tooling, docs, types, good standard lib, easy to distribute...).
- awinder 7y agoGolangs package management is almost objectively a dumpster fire, confirmed by the fact that they’ve made at least 3 whacks at trying different esoteric things. There’s a lot of things that are nice about Go but package management is definitely not one of them.
- malvosenior 7y agoThis isn't true since `go mod` in Go 1.12. It's as good as Cargo and Lein now (both of which are also excellent). I'd recommend Rust and Clojure as well but Golang seems like a good next step for Python devs since it's the most similar.
- vonseel 7y agoRust package management is amazing but the language itself is not approachable at all in comparison to Python.
- takeda 7y agoStep backwards you mean. Go doesn't have package management, it's just list of git repositories and revisions that should be checked out and compiled with your code. In fact it is encouraged to have as little dependencies as possible.
- malvosenior 7y agoI fail to see how that's not package management.
- j88439h84 7y agoPython's story IMHO, - great concurrency (https://trio.readthedocs.io https://trio.readthedocs.io) - bad package management (it just is. though Poetry's making a dent.) - tooling? I'm not sure what you mean here. - docs are ok not great not terrible - types are rolling out rapidly across the ecosystem - stdlib is too big but PyPI is right there so who cares - ok to distribute? pyinstaller and shiv are alright.
- coldtea 7y ago>- tooling? I'm not sure what you mean here. He means linters, debuggers, refactoring libs, and other such things...
- lazzlazzlazz 7y agoGolang package management is monstrous.
- awinder 7y agoThis is certainly not one of the languages that the author is referring to, but I super appreciate how nodejs sandboxes modules with no fuss. Even within python virtualenvs I run into issues all the time where 2 modules have conflicting versions of a dependency and all hell breaks loose. The tradeoff is hard drive space but f-ing take it, that resource is the least constrained & the best fit to abuse in 2019.