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: Is it important to learn C/Java before Python?

4 pointsby nitin_flankerover 7 years ago
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 comments

davelnewtonover 7 years ago
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_9over 7 years ago
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.
MichalSternikover 7 years ago
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_aover 7 years ago
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 未加载