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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Is it important to learn C/Java before Python?

4 点作者 nitin_flanker超过 7 年前
I am completely new to programming (Though I&#x27;m familiar with basics and few facts). I want to start my way into programming with Python. Is it a good idea? Or should I really need to learn C&#x2F;Java and other basic languages first?<p>I don&#x27;t have too big career goals with programming as I&#x27;m already in another field of work. I just always wanted to learn programming and hence decided to start now.<p>As I will be learning this from home in my free time, please suggest few resources to get started. Books, communities, or anything a beginner should know of.

4 条评论

davelnewton超过 7 年前
No. In fact I explicitly recommend <i>against</i> learning C first (and I wouldn&#x27;t recommend Java first at all; too much ceremony before you can actually get to programming).<p>Personally I&#x27;d go for <a href="https:&#x2F;&#x2F;learnpythonthehardway.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;learnpythonthehardway.org&#x2F;</a> but there are a ton of options and it&#x27;s not necessarily a big deal when you&#x27;re just starting out.<p>That said: if you decide to <i>keep</i> programming I&#x27;d recommend learning <i>something</i> about C (not C++) because it&#x27;s good to know what&#x27;s actually happening in Python, and how much it does for you.
hacker_9超过 7 年前
Not at all, in fact in a lot of places Python is taught first. Best advice would be to pick one language and learn it thoroughly. Later on learning your next language will not be so difficult as you&#x27;ll find a lot of the concepts are shared, so you can build upon what you know and just look for the differences. Your third language will be even easier again as you have a bigger &#x27;toolbox&#x27;, so to speak, to draw on yet again. And so on.
MichalSternik超过 7 年前
Go with Python.<p>Python and C&#x2F;Java share a lot syntax-wise, but python is higher-level, more beginner friendly language - it&#x27;s got REPL, big community, lots of intro books and libraries.<p>And even if you decide not to start with Python, avoid C. As a beginner, you don&#x27;t want to deal with manual memory management on top of everything else that you have to learn to be a coder.<p>Most importantly, have fun! :)
评论 #15246631 未加载
ssl_loop_a超过 7 年前
Python is pretty good start for people who just want to learn basic principle of programming.<p>It will be much easier for beginner to install a good text editor(like sublime text or atom) and python itself. After that you can just sit in the front of your computer and start code, experiment as much as you want. Without any worries about memory leaks, that can show up in C&#x2F;C++.<p>Good luck!
评论 #15246625 未加载