RAII is so before 2020s! Now it's SBRM*
*Scoped bound resource management... which I had to look up because I never remember it!
Re:C++: A prvalue is not a temporary
by spacechild1 on Friday November 07, 2025 @06:00AM
(#45845283)
Sorry for being pedantic and possibly ruining the joke: SBRM is actually a subset of RAII because it only applies to automatic variables (hence "scope bound").
Re:C++: A prvalue is not a temporary
by spacechild1 on Friday November 07, 2025 @05:57AM
(#45845270)
I think RAII is so catchy and ubiquitous that people don't actually think or care about the meaning of the acronym. I never had a problem remembering it. I still struggle with CRTP and CTAD, though.
RAII is even worse!
Can't they have better descriptive names?