TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do I commit code to muscle memory?

3 pointsby spsphulseabout 6 years ago
I have noticed that the ease of getting answers from StackOverflow is vastly hampering my ability to come up with solutions. People say &quot;You don&#x27;t need to memorize code. Just Google it&quot;.<p>I think this mentality is taking toll &amp; I see myself going back to SO repeatedly. Even for the code I had copied previously. I&#x27;m sure many face this issue. Would like to know how you overcame this?

4 comments

duiker101about 6 years ago
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.
评论 #19829236 未加载
perfunctoryabout 6 years ago
This is a great question.<p>&gt; &quot;You don&#x27;t need to memorize code. Just Google it&quot;.<p>This is the same as saying &quot;you don&#x27;t need to memorise english words, just look them up.&quot; Just imagine what the flow of the conversation would look like. Or how one would engage in commenting on HN.<p>&gt; 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.
greenyodaabout 6 years ago
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:&#x2F;&#x2F;docs.python.org" rel="nofollow">https:&#x2F;&#x2F;docs.python.org</a> or <a href="https:&#x2F;&#x2F;developer.mozilla.org" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org</a>). This will force you to understand how the code works, which is something that doesn&#x27;t happen if you just copy&#x2F;paste it.
评论 #19829229 未加载
benologistabout 6 years ago
Commit to the same language, framework and tools for a few years, build deep experience.