News for hackers. Stuff that matters.
Re:When noexcept? by AnimalMuppet on Thursday December 15, 2016 @04:50PM (#13188791)
But all failure avoidance systems rely on user caution. Error return values have to be checked. Exceptions have to be caught and handled (correctly). RAII has to be done everywhere a resource is allocated.

Now, true, some of these impose lesser burdens than others. Arguably, RAII imposes the least - but not zero. And if you forget with any resource, for that resource you are vulnerable.

Re:When noexcept? by lmm on Friday December 16, 2016 @04:37AM (#13192139)
That we can't make things perfect is no reason not to make things better.

And ultimately it should be possible to enforce that all resources are managed, because ultimately all resource interfaces have to be provided by the language runtime. To a certain extent enforcing user-defined invariants is always a matter of taste, but at the same time a language that makes it easy makes people a lot better at it.