News for hackers. Stuff that matters.
Re:C++: A prvalue is not a temporary by dilawar on Friday November 07, 2025 @01:22AM (#45843980)
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?

Re:C++: A prvalue is not a temporary by cordenr on Friday November 07, 2025 @02:55AM (#45844401)
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.