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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Python vs Ruby, syntactic sugar?

3 点作者 shail超过 12 年前
I have been using ruby for last couple of years and I can say that I am in love with this language because of its such a simple syntax. I have very limited exposure to python and would like to know from guys who have experience with both languages that what do they think about python's syntax? Is syntax the only difference between these two language?

3 条评论

canibanoglu超过 12 年前
Definitely not the only difference between the languages.<p>There are too many differences to list here, but Google is your friend for this stuff. Read stuff from both camps.<p>Python is the first language I learned so it has a special place for me. But I am completely unbiased when I say that, syntactically Python is just loads better than Ruby. At least for me. I find Python code to be much more readable and better organized.
评论 #5236854 未加载
runjake超过 12 年前
Do a Google search for "python vs ruby site:news.ycombinator.com" and read all of the past discussions on this topic. This question gets asked every few weeks.
steventruong超过 12 年前
No, definitely not the only diff