News for hackers. Stuff that matters.
Re:The Myth of Smart Pointers by calamari4065 on Thursday November 30, 2023 @06:10PM (#38480562)
So his argument is smart pointers are useless bullshit because external libraries that don't support smart pointers don't support smart pointers.

Yeah okay, sure.

Re:The Myth of Smart Pointers by afc on Friday December 01, 2023 @03:42AM (#38484575)
And when he manages to show that smart pointers can be misused and lead to obscure crashes, what's his solution? Just use raw pointers.

Those can't be misused ... right?

Re:The Myth of Smart Pointers by calamari4065 on Friday December 01, 2023 @09:42PM (#38495368)
No C++ programmer in the history of computer science has ever shot themselves in the foot with a raw pointer. Absolutely not, it's unthinkable!