When rubber duck debugging just doesn't cut it.

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. 🤔

211 points · 13 comments · view on lemmy.world

13 Comments

ExperimentalGuy@programming.dev · 11 pts · 2y (1 reply)

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

isti115@lemmy.world · 3 pts · 2y

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!

jwt@programming.dev · 9 pts · 2y (2 replies)

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

isti115@lemmy.world · 7 pts · 2y

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...

mrkite@programming.dev · 2 pts · 2y

Nah.. wrap entire templates in @if statements.

ilinamorato@lemmy.world · 8 pts · 2y (1 reply)

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

isti115@lemmy.world · 3 pts · 2y

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!

autokludge@programming.dev · 4 pts · 2y

brokenlcd@feddit.it · 3 pts · 2y

I raise chickens in my garden; I'll make do

FiskFisk33@startrek.website · 1 pts · 2y (2 replies)

nice piantor ;)

isti115@lemmy.world · 2 pts · 2y (1 reply)

Thanks! 😀 I've been meaning to post about that as well in order to keep feeding Lemmy with content, but couldn't find either an active alternative to ErgoMechKeyboards or Battlestations. 🤔

FiskFisk33@startrek.website · 1 pts · 2y

there's !ergomechkeyboards@lemmy.world :)

NeverNudeNo13@lemmings.world · 0 pts · 2y

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