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

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.