DEV Community

Discussion on: Ruby has the kindest programming community and I have the data to prove it

Collapse
 
ondrejs profile image
Ondrej

This brings me to the question Why is Python more popular than Ruby? We have a great community. Our language can be used for basically everything. It's native OOP (easy to learn for beginners). Where is the Python main advance?

Collapse
 
ondrejs profile image
Ondrej

And I have done project in both (Python and Ruby) but I have still have a strong feeling that Ruby is the superior.

Thread Thread
 
ben profile image
Ben Halpern

Python has a pretty great community too, and Python’s grip on academia and then data science is pretty strong.

Collapse
 
antonrich profile image
Anton

It's more "educational", I guess.

Thread Thread
 
ondrejs profile image
Ondrej

Python or Ruby ? Anyway the 'educational' part should be learning algorithms and data-sets (not concrete language, this is only an implementation). That is....math.

Thread Thread
 
antonrich profile image
Anton

Python. And I mean in terms of educational material + people usually start with python + university support python more. After that I guess people just stick with python.

I agree with you. I think doesn't matter if you know Python or Ruby, if you know the foundations you will be able to learn any language in the imperative paradigm.

Collapse
 
rhymes profile image
rhymes • Edited

Ah ah you want to start a flame war :D

I think it's a bunch of reasons added together:

  • Python is 5/6 years older and it was developed in Europe, not in Japan (it took a few years for western programmers to get Ruby)
  • Python has been in use in academia for a very long time (way before the recent surge of ML and data science)
  • A lot of financial software uses/used Python to wrap C and C++ numerical libraries because of how easy it is
  • Python was faster for a while (don't know which one is right now, I guess they are more or less the same)
  • SciPy
  • Google picked Python a long time ago as one of what were informally called the three languages they supported (C++, Java and Python). It even employed a few members of the core team for a while. They even tried to "fork" Python at some point with the intent to make it faster (that's a nice story in itself :D)

These are few of the reasons why Python gained more popularity in the first 10 years of their existence. Then Rails and YARV came :-D

Thread Thread
 
ondrejs profile image
Ondrej

Ok, these are pretty valid arguments, I take it.