When rubber duck debugging just doesn't cut it.

isti115@lemmy.world to Programmer Humor@programming.dev – 212 points –

If the rolling wooden variant still turns out not to be enough, I might need to source a real live duck. 🦆 Not sure how patient that would be at listening to me explaining code though. 🤔

13

So rude for not dropping the link for that duck in the post tsk tsk tsk

Well, I'd suggest asking around your nearest toddler, that's how I managed to borrow this one. 😀 Probably it has been inherited through several generations, that might explain it's wisdom!

Ah typescript properties possibly undefined, eh? My advice would be to sprinkle some more question marks on your code.

Thanks for the advice, but lo and behold, the issue was actually caused by a newly introduced generic parameter not being defined after a dependency update. 🙃 Oh, the wonders of the JS/TS ecosystem...

My rubber duck is a Darkwing Duck figurine. He usually does the trick.

Whoa, I just checked out some images, that one is on another level as well for sure. 😀 If he's as good at fighting bugs as criminals, you're in good hands wings!

I mean you could always substitute a witch if you are unable to source the live duck...