Every week, my boss checks the number of Google searches and Stack Overflow posts I had to go through to finish my assigned tasks. The fewer searches I do, the better my evaluation.
Said no-one, ever. My boss cares about which
features I finish, the speed of work and the quality of my code. Google and SO are amazing resources. Why on earth would I not use them?
That being said, I would like to add that using SO does not mean blindly copy-pasting answers. Try to understand the answers provided, and how and why they fit (or don’t fit) into your solution. If you are a student, you will learn a lot more by struggling on a particular problem for a while by yourself before looking at the solution on SO. Read source code and documentation so you have a more versatile toolkit to solve the next problem.