I am new to programming.. I was thinking to start learning with Ruby or Python. y main task would be web development. But I cannot choose between them. Which language do you think I should learn?
我对编程不在行。我想开始学习Ruby或Python。y的主要任务是web开发。但我不能在两者之间做出选择。你认为我应该学哪门语言?
4 个解决方案
#1
2
You may find these SO links useful:
你可能会发现这些链接很有用:
链接1
链接2
You may also find this non-* link to be useful: Python vs. Ruby
您可能还会发现这个非*链接非常有用:Python和Ruby
My 2 cents: For web development Ruby seems to be better option than Python, however having said that you might want to know the popularity of two languages - Python is more popular than Ruby.
我的看法是:对于web开发来说,Ruby似乎比Python更好,但是您可能想知道两种语言的流行程度——Python比Ruby更流行。
#2
4
Read into both of them and decide for yourself, it's the only right way to go.
读它们,自己决定,这是唯一正确的方法。
They're both easy to learn, they're both backed by a big community, they're both very suitable for web development and both have very good web development frameworks again with big communities behind them. There is just no killer argument for a single one.
它们都很容易学习,它们都是由一个大社区支持的,它们都非常适合web开发,而且它们都有非常好的web开发框架,后面还有一些大型社区。对于一个人来说,没有什么致命的理由。
#3
3
I recommend going into Python and Django development, but that's my opinion. You need to take both for a spin and see which you like. To get started in either, check out these resources. Good luck!
我建议进行Python和Django开发,但这是我的看法。你需要两个人一起旋转,看看你喜欢哪一个。要开始这两种工作,请查看这些资源。好运!
- The Django Book
- Django的书
- Official Django Tutorial
- 官方Django教程
- Ruby on Rails Documentation
- Ruby on Rails文档
- Rolling with Ruby on Rails
- 在Ruby on Rails上滚动
#4
3
I recommend Ruby but this is about as subjective as a question can get and it is about to be closed, I imagine.
我推荐Ruby,但是这是一个非常主观的问题,我想它即将结束。
Python is more popular and more mature. It's better if you want a job at Google.
Python更流行,也更成熟。如果你想在谷歌工作就更好了。
Ruby has a "better", or at least a very highly regarded web environment in Rails, and arguably a somewhat better or at least purer object model.
Ruby有一个“更好的”,或者至少是Rails中一个非常受重视的web环境,可以说是一个更好的或者至少更纯粹的对象模型。
Python has that way-cool indentation-specified block structure, which is nice, but Ruby is a reincarnation of Smalltalk, which is even better.
Python有那种方式很酷的、按id指定的块结构,这很好,但是Ruby是Smalltalk的翻版,它甚至更好。
You can't lose here either way. To give a really subjective answer to a subjective question: Ruby is the kind of thing you can fall in love with whereas Python is more of a "really good tool".
无论如何你都不能输。对于一个主观问题给出一个非常主观的答案:Ruby是一种你可以爱上的东西,而Python则是一种“非常好的工具”。
#1
2
You may find these SO links useful:
你可能会发现这些链接很有用:
链接1
链接2
You may also find this non-* link to be useful: Python vs. Ruby
您可能还会发现这个非*链接非常有用:Python和Ruby
My 2 cents: For web development Ruby seems to be better option than Python, however having said that you might want to know the popularity of two languages - Python is more popular than Ruby.
我的看法是:对于web开发来说,Ruby似乎比Python更好,但是您可能想知道两种语言的流行程度——Python比Ruby更流行。
#2
4
Read into both of them and decide for yourself, it's the only right way to go.
读它们,自己决定,这是唯一正确的方法。
They're both easy to learn, they're both backed by a big community, they're both very suitable for web development and both have very good web development frameworks again with big communities behind them. There is just no killer argument for a single one.
它们都很容易学习,它们都是由一个大社区支持的,它们都非常适合web开发,而且它们都有非常好的web开发框架,后面还有一些大型社区。对于一个人来说,没有什么致命的理由。
#3
3
I recommend going into Python and Django development, but that's my opinion. You need to take both for a spin and see which you like. To get started in either, check out these resources. Good luck!
我建议进行Python和Django开发,但这是我的看法。你需要两个人一起旋转,看看你喜欢哪一个。要开始这两种工作,请查看这些资源。好运!
- The Django Book
- Django的书
- Official Django Tutorial
- 官方Django教程
- Ruby on Rails Documentation
- Ruby on Rails文档
- Rolling with Ruby on Rails
- 在Ruby on Rails上滚动
#4
3
I recommend Ruby but this is about as subjective as a question can get and it is about to be closed, I imagine.
我推荐Ruby,但是这是一个非常主观的问题,我想它即将结束。
Python is more popular and more mature. It's better if you want a job at Google.
Python更流行,也更成熟。如果你想在谷歌工作就更好了。
Ruby has a "better", or at least a very highly regarded web environment in Rails, and arguably a somewhat better or at least purer object model.
Ruby有一个“更好的”,或者至少是Rails中一个非常受重视的web环境,可以说是一个更好的或者至少更纯粹的对象模型。
Python has that way-cool indentation-specified block structure, which is nice, but Ruby is a reincarnation of Smalltalk, which is even better.
Python有那种方式很酷的、按id指定的块结构,这很好,但是Ruby是Smalltalk的翻版,它甚至更好。
You can't lose here either way. To give a really subjective answer to a subjective question: Ruby is the kind of thing you can fall in love with whereas Python is more of a "really good tool".
无论如何你都不能输。对于一个主观问题给出一个非常主观的答案:Ruby是一种你可以爱上的东西,而Python则是一种“非常好的工具”。