2 ms·
> It is possible to write code in that language that you assume will work a certain way but then in practice it does a lot of things you didn't think you signed
by nicoburns 5y ago
> It is possible to write code in that language that you assume will work a certain way but then in practice it does a lot of things you didn't think you signed up for
This is also possible for C. Most commonly around Undefined Behaviour. C only does what you expect it to do if you know the C spec inside out. Rust can have confusing behaviour too, but it is generally much better in this regard than C or C++.
You may find it easier to reason about C than Rust, but that's only because you know C better. I find it much easier to reason about Rust.