TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

3 点作者 spsphulse大约 6 年前
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 条评论

duiker101大约 6 年前
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 未加载
perfunctory大约 6 年前
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.
greenyoda大约 6 年前
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 未加载
benologist大约 6 年前
Commit to the same language, framework and tools for a few years, build deep experience.