> I really don't like RAII because it's too implicit and hidden from the reader.
> That said, you kind of need it for exception safety. But I would recommend
> against ever using exceptions too :)
You'd recommend against using C++ then?
RAAI and exceptions have been idiomatic C++ for two decades now.
> I really don't like RAII because it's too implicit and hidden from the reader.
> That said, you kind of need it for exception safety. But I would recommend
> against ever using exceptions too :)
You'd recommend against using C++ then?
RAAI and exceptions have been idiomatic C++ for two decades now.