3 ms·
> It's not meant to foster creativity, it's meant to be safe for big business and novice employees. Interestingly, my experience is the opposite. I find that
by Yoric 3y ago
> It's not meant to foster creativity, it's meant to be safe for big business and novice employees.
Interestingly, my experience is the opposite.
I find that the "straightjacket" is extremely precious during refactorings – in particular, the type of refactorings that I perform constantly when I'm prototyping.
Compared to this, I'm currently writing Python code, and every time I attempt a refactoring, I waste considerable amounts of time before I can test the interesting new codepath, because I end up breaking hundreds of other codepaths that get in the way and I need to go through the testsuite (and pray that it contains a sufficient number of tests) hundreds of time until the code is kinda stable.
Which is not to say that Rust matches every scenario. We agree that it doesn't, by design. But I don't think that the scenarios you sketch out are the best representation of what Rust can/should be used for and can't/shouldn't be used for.