3 ms·
As somebody who comes from the Python community just like the author, I can relate to some of his points: "In Python I try to avoid even having dependencies if
by omn1 11y ago
As somebody who comes from the Python community just like the author, I can relate to some of his points:
"In Python I try to avoid even having dependencies if I can, and only use the standard library. I don't want my users to have to deal with virtualenv and pip if they don't have to (especially if they're not pythonistas)"
This rings so true to me. Package management in Rust is much better than in Python.
Also, Rust feels a bit like "pythonic systems programming". I mean that it just feels like the right tool for the job. And it might feel a bit verbose in the beginning, but in reality it's explicit and precise. It feels pretty ergonomic just like Python.
Isn't it fantastic that people start comparing Rust to more high level languages like Python and Ruby instead of C++ or C? It says a lot about the language design and its goals.
- StavrosK 11y agoAm I the only one who doesn't find Python's dependency management a problem? "pip install -Ur requirements.txt" and you're done. A virtualenv is one extra line.
- dikaiosune 11y agoVery easy when you're in control of the machine (and are a developer). A while back I had written a tool in Python purely for myself (mistake #1), and relied heavily on dependencies which needed to compile C extensions (mistake #2), and then it turned out to be very useful for others on my team (mistake #3), which consisted of mostly non-developers (mistake #4) using Windows/Mac (mistake #5). I've since left, and while they supposedly have a dev who can help them install the tool, I'm still running it for them on a regular basis because I don't want to be mean and they haven't sorted it out. Python's dependency management is great for devs who have a GCC toolchain, but it really sucks when you need to share code with non-developers.
- fanf2 11y agoIt's good to be nice like that but you should still be getting a consultancy fee.