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
Uhm… I teach and practice pair programming which makes this saner because you are with another developer or are part of team where you can go “Hey look at this.”. But in lieu of having either of those, Yes, also we do Duck Typing, which is basically “If it looks like a duck acts like a duck then it’s a duck else get angry.