Looks like a cultural problem in C++ land. I liked the article and it is very nicely written. But I am sure I am not gonna remember it after a week.
RAII is even worse!
Can't they have better descriptive names?
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.
I also enjoyed the linked article about the 5 value types: https://blog.knatten.org/2018/03/09/lvalues-rvalues-glvalues.... For some reason I never bothered to look up these terms as they sounded so obscure. Turns out the taxonomy is pretty clear and it's just a refinement of the existing two value types (lvalues and rvalues).
EDIT: I do think the naming is rather confusing and inconsistent, though.