4 ms·
Could you expand on this a bit? What did you like about the switch and what not? Just in case: I didn't want to imply there are no use cases which overlap, onl
by V__ 5y ago
Could you expand on this a bit? What did you like about the switch and what not?
Just in case: I didn't want to imply there are no use cases which overlap, only that in general the use cases for both languages are very different.
- paulgb 5y agoI like how much the compiler helps me. I find it to be a tax on my productivity for about the first 1500 LOC of a project, but once I get beyond that, the compiler is an indispensable aid for refactoring in a way that Python’s type system (even with annotations) just isn’t rich enough to enable. For example, if I add a variant to an enum, my editor will immediately show me all the places that variant needs to be handled. I find cargo more productive than Python’s package management, where I have to manually manage environments and requirements.txt files. Things I like less: less “batteries included”, so I spend more time evaluating libraries and wondering if a github project hasn’t been touched since 2019 because it just works, or because the maintainer got bored. The learning curve is steep at times, and involved being blocked on pleasing the compiler.
- V__ 5y agoThank you for your insights!