by sushisource · 9y ago · 0 comments
So nightmare code is the code that lives forever, whereas well-written code is easily replaceable.
With C++, the nightmares are just really obscured pointer manipulation that can work but have infinite edge case failure states that cause endless undefined behavior.
In Rust, if it compiles, it is at least constrained to only break what the dev explicitly broke, it doesn't break everything.