this post was submitted on 21 Jan 2024
786 points (93.4% liked)
Programmer Humor
32494 readers
568 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
There's a project I could have written in Rust. Maybe some of the headache wouldn't have ever happened using Rust.
I also didn't know Rust at the time and it was a large project with unkind deadlines. I think the right tool for the job can also depend on available resources. So while the more unsafe, older tool I used caused a few small issues that Rust would not have; the project wouldn't have been finished if I'd used Rust.
Yeah, projects also exist in the real world and practical considerations matter.
The legacy C/C++ code base might slowly and strategically have components refactored into rust, or you might leave it.
The C/C++ team might be interested in trying Rust, but have to code urgent projects in C/C++.
In the same way that if you have a perfectly good felling axe and someone just invented the chain saw, you're better off felling that tree with your axe than going into town, buying a chainsaw and figuring out how to use it. The axe isn't really the right tool for the job anymore, but it still works.