this post was submitted on 05 Jan 2024
215 points (97.4% liked)

Programmer Humor

19693 readers
76 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

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. ๐Ÿค”

top 13 comments
sorted by: hot top controversial new old
[โ€“] ExperimentalGuy 12 points 10 months ago (1 children)

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

[โ€“] [email protected] 3 points 10 months ago* (last edited 10 months ago)

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 9 points 10 months ago (2 children)

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

[โ€“] [email protected] 7 points 10 months ago* (last edited 10 months ago)

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 2 points 10 months ago

Nah.. wrap entire templates in @if statements.

[โ€“] [email protected] 9 points 10 months ago (1 children)

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

[โ€“] [email protected] 3 points 10 months ago

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 4 points 10 months ago
[โ€“] [email protected] 3 points 10 months ago

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

[โ€“] [email protected] 1 points 10 months ago (1 children)
[โ€“] [email protected] 2 points 10 months ago (1 children)

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. ๐Ÿค”

[โ€“] [email protected] 0 points 10 months ago

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