News for hackers. Stuff that matters.
Re:Dark side of ergonomics in Rust by fooker on Saturday April 14, 2018 @03:57PM (#16839141)
>For exceptions to work predictably, all mutation within a try-catch block should be captured in a transaction that can be rolled back.

[code] try { system("rm foo.txt");} catch (...) {} [/code]

Not everything can be rolled back. Often, automatic rollbacks lead to states unaccounted for by the developer.

There are no comments on this comment yet.