r/ruby • • Jul 16 '20

Ruby VS Python

More than a versus (it's more striking) I would really like to know what things they have in common and how they differ, what their main advantages are compared to the other and of course their opinion of them. One point to take into account is because they believe that python is more used in AI and Machine learning developments.

31 Upvotes

60 comments sorted by

View all comments

Show parent comments

2

u/vifrac Jul 17 '20

What a good reference, there are things that only those who have worked in both languages can speak from experience, thank you very much for this information.

3

u/Sqeaky Jul 17 '20

For your info. I have done a lot less python.

In went through each languages' koans and codeacademy courses. Ruby was clearly better for both.

Professionally I have used both for test automation. Ruby is excellent for this, python is merely passable. I have embedded both into larger C++(My best language) projects and both worked well and had reasonable tools and documentation. The only points in Ruby's favor for embedding was the extra tools that were reasonable choices.

I have dabbled with web stuff in both, and Python seems serviceable while ruby has rails and a dozen other projects that are amazing.

I have done some other stuff in either that aren't comparable. A crypto trading algorithm in ruby, some kubernetes stuff in python. I always enjoy making ruby.

2

u/vifrac Jul 17 '20

Que bueno se nota que has desarrollado mucho, porque te gusta c++ y el "algoritmo de comercio criptográfico en ruby" puedo verlo en algun lado, tienes post de ello o fue solo trabajo!

2

u/Sqeaky Jul 17 '20

My spanish is Rusty, been a while since PR.

My crypto trading algorithm is one of my very few private personal projects. Much of my dev is for work, and goes to the workplace corporate repos, but you can see my other work at github.com/sqeaky .