top | item 40667211

(no title)

niborgen | 1 year ago

> Granted it was 2013, don't sweat yourself.

Don't worry, I don't. Funnily, recently something very similar happened.

At work, there was this C++ class that had a 'void reset()' member function. Of course, at some point it was used with std::unique_ptr and we got some SIGSEGV. Took me a while to figure out that the '.reset()' was called instead of the '->reset()'.

I think these 'omg that's so dumb' bugs are just part of programming.

discuss

order

No comments yet.