Some of you are reblogging because you think its funny that programmers would talk to ducks. I’m reblogging because I think its funny picturing a programmer explaining their code, realizing what they did when they explain the bad code, then grabbing the strangling the duck while yelling “WHY WAS THE FIX THAT SIMPLE!? AM I GOING BLIND!”
AS A PROGRAMMER I CAN TELL YOU THAT THIS IS EXACTLY WHAT YOU FUCKING DO WE HAD TO BAN THE DUCKS FROM MY CLASSES BECAUSE EVERYONE WOULD FLIP THE DUCK OR THROW IT AT A WALL OR SOMETHING WHEN THEY FIGURED OUT THE PROBLEM IN THEIR CODE
I’ve seen some angry devs have laptops tossed around in my day, especially if the defect wasn’t caused by the code but the hardware or software stack. The rubber duck idea is stupid, but it’s better than throwing a laptop. One time a guy threw his laptop across the room and it landed square in the trash. He was nuts, but it was a funny moment.
Probably the best thing I ever saw was the swear jar at a large retailer’s online dev team. You tell the jar about your code, and every time you swear you have to add a quarter. Every time a new dev came onto the team we’d take guesses on how long it would take before the new dev started swearing. One they did, they were introduced to the swear jar, and the money was given to the best guesser. It keeps people from throwing much of anything if there is potential reward. :)