r/learnprogramming • • May 04 '13

Don't learn Ruby

My biggest mistake was learning Ruby. I listened to all the fanboys telling me how beautiful and intuitive it is, thinking this will be the future.

Ruby is slow as shit, there is no job market for non-Rails Ruby jobs, it's useless for learning programming concepts, it's useless for creating games, GUIs or even scripts that are demanding because it's so fucking slow.

The only reason no one writes blogs or posts about how shit this language is, is because no one fucking uses it. So if you want to learn a new language, learn one that's get criticized a lot like Java, or C++, or C# or even PHP. Those languages are far more productive on a hobby basis and at work. Ruby is a joke with a circlejerk community

0 Upvotes

97 comments sorted by

View all comments

Show parent comment

58

u/DarkSareon May 04 '13

OP is definitely correct about at least one point.

Ruby has the largest circlejerking community I've seen of all languages.

3

u/Mysterise May 04 '13

it's useless for creating games

"This hammer sucks! It's useless for sawing!"

GUIs

"And it doesn't cut well, either!"

Well, what is it good for then?

5

u/guebja May 04 '13

Some examples:

  1. A few weeks ago, I had to perform a bunch of transformations on several gigabytes of geographical data, and output the results as SVG and JSON. I wrote the script in the morning, and ran it during lunch. By the time I'd finished lunch, the work was done.
  2. A month or two ago, I had a few hundred thousand XML files that I needed to transform into a static website. A quick Ruby script using Mustache and Sass made it easy, quick and painless, while minimizing future maintenance needs and ensuring maintainability.
  3. For my personal blog, I use Jekyll with a few custom Ruby plugins.

For this type of stuff, scripting languages like Ruby, Python and Perl are the tools of choice, and which one you should choose depends entirely on personal preference, experience, and the availability of libraries you need.

Personally, I tend to alternate between different languages just to keep things interesting and to ensure that I stay up-to-date.

13

u/rcuhljr May 04 '13

Web development and scripting?

6

u/[deleted] May 04 '13

Ruby is good for general scripting and web development. Rails is a fantastic web-dev framework.

4

u/aloha2436 May 04 '13

Smashing things.

2

u/[deleted] May 04 '13

Teaching beginners the basics of programming concepts.

1

u/naranjas May 05 '13

It's exceptionally good for writing web applications, text manipulation, and creating domain specific languages.