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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What is the best way to learn coding?

3 点作者 pythonbull超过 8 年前
Need a step by step process, how many hours daily, your method to learn coding?

1 comment

greenyoda超过 8 年前
I don&#x27;t think that there&#x27;s a single &quot;best way&quot; to learn anything:<p>- Different people have different learning styles, so what works for one person may not work for another. For example, I get much more out of reading books than from watching lectures.<p>- Different people have different amounts of time that they can devote to learning, and have different limits on how long they can keep their attention up.<p>- Different people have different backgrounds. If you&#x27;re a mathematician who is learning to code, you might want to approach it very differently than a novelist learning to code.<p>- Different people have different financial situations. So advice like &quot;enroll in this bootcamp that costs $6000&quot; might not be possible for you.<p>Also, if you&#x27;re looking for recommendations for specific resources, you need to specify which programming language you&#x27;re interested in learning.<p>So unless you tell us more about yourself, your background, your goals and what you&#x27;ve already tried, you probably won&#x27;t get information that&#x27;s useful to you.<p>One thing that I think is universal: to learn to code, you must write code. You can&#x27;t just read books or watch videos, you need to actually do the exercises (which may seem very simplistic and boring at first) and get them to run correctly. Learning to debug is an integral part of learning to code, since even fairly simple programs are hard to get right the first time.