I have noticed that the ease of getting answers from StackOverflow is vastly hampering my ability to come up with solutions. People say "You don't need to memorize code. Just Google it".<p>I think this mentality is taking toll & I see myself going back to SO repeatedly. Even for the code I had copied previously. I'm sure many face this issue. Would like to know how you overcame this?
I think SO is actually not a good place where to get your resources. My suggestion is to refer to official docs. You want to know what you need to achieve and then what you want to find is the syntax of what to do, which you will most likely find on the docs.
This is a great question.<p>> "You don't need to memorize code. Just Google it".<p>This is the same as saying "you don't need to memorise english words, just look them up." Just imagine what the flow of the conversation would look like. Or how one would engage in commenting on HN.<p>> Would like to know how you overcame this?<p>I guess the answer is the same as with learning any other skill. Practice. In a dedicated learning setting, not at work.<p>And as a side note, I still believe a formal education, as oppose to self-taught, has some merits.
Try writing code from scratch without using StackOverflow. If you need to know how to do something, use only language and API references (e.g., <a href="https://docs.python.org" rel="nofollow">https://docs.python.org</a> or <a href="https://developer.mozilla.org" rel="nofollow">https://developer.mozilla.org</a>). This will force you to understand how the code works, which is something that doesn't happen if you just copy/paste it.