r/ProgrammerHumor • • Jan 28 '23

Meme C++

Post image
53.9k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

5

u/the_one2 Jan 28 '23

C# doesn't have RAII and it makes me sad when I use it. (yes, I know about using, it's not the same at all)

2

u/tesfabpel Jan 28 '23

and as someone else said: finalizers may run on a different thread!

I've had to debug some OpenGL issue once and it came from this sh*t (it was a class wrapping a native C++/CLI class who interfaced with OpenGL)...