|
|
|
|
|
by imron
1884 days ago
|
|
Sure, they end up looking similar, but the point is that with C++ the developer carries the burden of making sure everything is correct and doesn't prevent you or other developers from breaking outside the bounds of what is "good" - either on purpose, or accidentally, e.g. when refactoring. With Rust, the burden of checking all of that is shifted to the compiler, and that reduces cognitive load for the developer. |
|