That really depends on the problem, but yes - for anything that you can't find on the first search results page - attempting to explain your problem to anyone (or anything) that didn't read your code forces you to think differently. I also find that leaving your computer and try to use pen and paper to draw a crud flow-chart helps a lot.
I just got a rubber duck last week and it's sitting next to my computer at home.
That really depends on the problem, but yes - for anything that you can't find on the first search results page - attempting to explain your problem to anyone (or anything) that didn't read your code forces you to think differently. I also find that leaving your computer and try to use pen and paper to draw a crud flow-chart helps a lot.
I just got a rubber duck last week and it's sitting next to my computer at home.
This one looks just like him:
Duck-vader?! Love him! I want to buy an actual rubber duck (don't tell Stumps) but I worry I'll become hooked and need to buy ALL OF THE DUCKS. Haha.
But you're right, rubber ducking works best for logical problems, which can't be Googled.