Whenever you’re stuck on a problem, you google for potential solutions. You land up on a Stack Overflow page. Most of us copy-paste from there, which is okay, but you also need to dive deeper and understand the following:
- What was the exact problem?
- How did you solve it?
Unless you can reproduce and re-fix a bug at-will, you really haven’t understood the core problem.
Spray and pray will not get you very far. Curiosity will.