2 ms·
Right, One of the many benefits of Rust is that it provides a convenient litmus test for C and C++ programmers who complain about UB. For some of them, having a
by tialaramex 3y ago
Right, One of the many benefits of Rust is that it provides a convenient litmus test for C and C++ programmers who complain about UB. For some of them, having a language (safe Rust) where programs don't have Undefined Behaviour is excellent - but for a whole lot of them this isn't OK.
And the reason IMO is that they didn't actually want Defined Behaviour. What they wanted is for their nonsense programs to just work anyway. They want to skip the hard part of the job of software engineer where you need to correctly express what you meant as a program. They're the current generation of the people Charles Babbage complained of, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?'.