Python vs Ruby

Cluster focuses on debates comparing Python and Ruby programming languages, highlighting Python's versatility in AI/data science/web dev versus Ruby's niche in Rails/web development, popularity, communities, and recommendations for learning.

📉 Falling 0.3x Programming Languages
3,135
Comments
20
Years Active
5
Top Authors
#4959
Topic ID

Activity Over Time

2007
44
2008
126
2009
145
2010
309
2011
275
2012
245
2013
273
2014
162
2015
134
2016
132
2017
143
2018
118
2019
110
2020
151
2021
160
2022
187
2023
200
2024
99
2025
114
2026
8

Keywords

PHP AI HN JS NET peepcode.com LISP ycombinator.com extracheese.org death.html ruby python rails ruby rails python ruby django language web web development ruby python

Sample Comments

dasdhrub95 Mar 11, 2017 View on HN

Ruby is commonly used by programmers along with Ruby on Rails for Web Development so it's scope is very limited. Python on the other hand has been widely adopted by the academia and has become pretty much essential to startups in the big data/AI sector, additionally Python can also be used with Django for web development (Instagram's website is built in Django). The pip library is vast and the Django community is on par with the Ruby on Rails community. I dont see any reason to st

pprotas Apr 22, 2024 View on HN

Ruby is only relevant because of Rails, and if those two things are your use-cases then you’ll be better off with Python

tptacek Dec 11, 2010 View on HN

You have a week of Python. Spend 2 days with Ruby. If you fall in love with Ruby, go with Rails. Otherwise, stick to Python. It's that simple. They're basically the same thing.

z3phyr Dec 4, 2012 View on HN

Look at the forums and stuff.. They seem to speak of python as kings and ruby as a second class citizen...

s_kilk Jul 5, 2013 View on HN

Python seems to be used in a lot of contexts, not limited to web development. While Ruby is a lovely language it appears to be used primarily with Rails in a web context.

jiggy2011 Jul 8, 2014 View on HN

Ruby has become almost synonymous with rails, Python is used in more diverse areas.

asdfor Oct 17, 2010 View on HN

well , like the rest already mentioned you probably want to compair Python and Ruby , in which case i would go with python

kashif Jun 2, 2008 View on HN

Python is a great language, Ruby is also a consideration.

vesan Nov 13, 2008 View on HN

I recommend checking out Ruby instead of Python.

Prrometheus May 15, 2008 View on HN

Ruby and Python seem to be in vogue for web applications. I'm a Ruby guy because I got tired of reading through flame wars and decided to pick one of them randomly.