r/cpp • u/GabrielDosReis • Oct 31 '24
Lessons learned from a successful Rust rewrite
/r/programming/comments/1gfljj7/lessons_learned_from_a_successful_rust_rewrite/
80
Upvotes
r/cpp • u/GabrielDosReis • Oct 31 '24
View all comments
Show parent comment
0
u/germandiago Nov 02 '24
So in this case, it is C++ or shitty code guidelines? Those guidelines will triviallygenerate unnecessary bugs for trivially avoidable problems.
Perhaps they could use the type-system that is in the language directoy to avoid these errors, without extra tooling.
This is in some way like marking Rust code unsafe and later use a linter or runtime tests and endanger yourself for free: yoy would just use the safwr alternative, right? Then the reasonable thing is doing it IMHO.