3 ms·
Excellent comment. > People like to complain that writing correct Rust is hard. Thats's true, particularly for novices. But you'll get better. Thing is, writ
by asa400 1y ago
Excellent comment.
> People like to complain that writing correct Rust is hard. Thats's true, particularly for novices. But you'll get better. Thing is, writing correct C++ code isn't exactly easy either.
Agreed, and I wish all of the "Rust is hard" people would offer this critique _in context_.
The question is not "is Rust harder than C or C++?". The question is, "is writing correct Rust harder than writing correct C or C++?".
You could even think of it in financial terms: "is the cost of writing correct Rust higher or lower than the cost of writing correct C or C++?".
Another interesting qualification to add on is: "...for someone who doesn't already know Rust or C or C++". If you had to onboard a new team member, and they didn't know Rust or C or C++, which language would you want your project to be in? Which would they be able to safely contribute to the fastest? I know what I'm picking.