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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What Should You Choose to Learn? Python or C++?

1 点作者 rajeshvaya超过 13 年前

1 comment

alexholehouse超过 13 年前
<i>"as it is very user friendly and allows for a more complete freedom of expression and ease of compilation"</i> - I've got to take issue with this. For a new programmer, C++ is not particularly user friendly at all (believe me, I <i>was</i> that new programmer) but I think it's often taught as a first language because by throwing you in the deep end (with pointers, cryptic compilation errors, overflow issues and extensive but often quite primitive features) it teaches you about the logic and principles of programming. This means when you get to higher level things like Python/Perl/Ruby you can really appreciate why things are the way they are.<p>I think learning (say) Java and then C++ would be much more difficult than C++ then Java, because C++ gives the sort of "nuts and bolts" approach to programming, letting you do really powerful stuff but often at a reasonably low level (compared to lots of languages, obviously "level" is relative and is a topic for another day)