News for hackers. Stuff that matters.
Re:My favourite C++ footgun by nicoburns on Tuesday June 22, 2021 @05:34PM (#27597519)
Yep. I learnt about this when I was learning Rust (which makes this a compile-time error). I was very glad I didn't have to learn this and the 100 other things like that seem to exist in C++ the hard way!
Re:My favourite C++ footgun by failwhaleshark on Tuesday June 22, 2021 @08:39PM (#27599292)
Footguns might keep you prepared for the zombie apocalypse, but they'll inevitably make it difficult to walk. I'm glad I don't currently use C++ in production, but that may change soon. ):