Universal problem solving flowchart
cvmountain.com
cvmountain.com
This sort of behaviour will not only produce bad code but also will limit your mind, being able to solve problems is probably on of the main abilities of a programmer. If your rely on google you will not keep your mind trained! And what if google one day does not have the answer?
Don't get me wrong finding code on google can help but it's far from the universal problem solving! Better googling some documentation!