Comment Comment by ameixaseca > See https://en.wikipedia.org/wiki/Resource_acquisition_is_initia...This example is specific to C++> (..) if your programme crashes there's no guarantee that you'll ever give the resources back.What guarantees can you have from a "crashing program", and by what definition of crashing?> RAII is a leaky abstractionAny abstraction is leaky if you look close enough. parent ameixaseca 9 months ago
This example is specific to C++
> (..) if your programme crashes there's no guarantee that you'll ever give the resources back.
What guarantees can you have from a "crashing program", and by what definition of crashing?
> RAII is a leaky abstraction
Any abstraction is leaky if you look close enough.