6
donuts
6y

Debugging an issue last week that involved a duplicate class. Took about 10 mins of debugging (console.log) to realize the function wasn't being called.

Me to the person I was helping: we should comment that this is deprecated, can you add it?

Today while reading over the (unchanged) code, I see a comment block above the class **that I wrote awhile ago** which says exactly that...

Comments
  • 1
    Oh gosh, the exact thing happened to me yesterday but in a live coding interview! 😂
Add Comment