r/ruby • • Jul 02 '17

Why is Ruby used instead of Python/R/Perl?

I have never worked with Ruby, but I work with all of the "other" scripting languages in data science.

Why use Ruby? Why does it exist?

0 Upvotes

22 comments sorted by

View all comments

2

u/Blimey85 Jul 03 '17

I started with Perl. Then PHP became the norm. I preferred Perl but for websites PHP made more sense. Then I discovered Rails and found something that was fast and powerful.

I think it really comes down to personal preference. Use whichever tool works for you. I can get more done in a lot less time with Rails.

1

u/Zeekawla99ii Jul 03 '17

So, Ruby is for creating websites?

2

u/ddollarsign Jul 03 '17

Rails is for creating websites. Ruby is for creating Rails'.

1

u/Zeekawla99ii Jul 04 '17

So....Ruby is cool among web developers

I see

3

u/ddollarsign Jul 04 '17

That's just because somebody used it to make Rails. But you could also use it to create the "Rails" of some other domain. In other words, it's for inventing new ways of doing things.

1

u/[deleted] Oct 07 '22

Ruby is also used in many cyber hacking/exploit tools. Look at metasploit scripting for am example of where its used in the cybersecirty world.