DEV Community

Play Button Pause Button
RealToughCandy.io
RealToughCandy.io

Posted on

Is Ruby worth learning in 2019?

Is Ruby worth learning in 2019?

A subscriber asked me this, and it's a great question for numerous reasons. Firstly, some bootcamps still teach it, despite its decreasing adoption rates in enterprise development settings.

Secondly, Ruby on Rails (RoR) is one of the earliest backend web frameworks to hit the scene in late 2005. Despite its OG status, it seems to be falling off the popularity chart. Does that mean you should avoid it, along with the language that was used to build the framework?

Is it a bad career investment if you dedicate all your time and money to learning this language along with RoR?

Let’s see what the developers say. Over 200 devs responded to my poll, but what do YOU think? Should you learn Ruby this year?

Top comments (33)

Collapse
 
shushugah profile image
shushugah • Edited

Github, Apple.com, Shopify all use Ruby. I am currently employed as a Ruby developer. It happens to be a great language for learners. In general, use whatever language brings you joy and gets you a paid gig, which both happen for me.

Collapse
 
antonmelnyk profile image
Anton Melnyk • Edited
Collapse
 
lazar profile image
Lazar

LOL!

Collapse
 
jacobherrington profile image
Jacob Herrington (he/him)

I think Ruby is possibly the best language for learning Object Oriented Programming and therefore will be worth learning for a very long time.

Not to mention seniority in Ruby is very valuable; there is a lot of legacy Ruby code. That legacy code isn't going anywhere either, so that means long-term demand.

Collapse
 
ferricoxide profile image
Thomas H Jones II

The COBOL argument! =)

Collapse
 
jrtibbetts profile image
Jason R Tibbetts

My mother and stepfather are recently-retired COBOL programmers. That language kept me fed, housed, and clothed for years, so despite whatever personal revulsion I feel whenever I see any COBOL code, I have to appreciate it. :)

Collapse
 
lynx_eyes profile image
Ivo Jesus

No. The COBOL argument is that it is too risky and expensive to replace it.

This could be at most "The Java argument" - there is a lot of java out there and that code ain't gonna disappear in the next 20 years. I'd say Ruby is not yet at that level.. but might come to that.

Thread Thread
 
ferricoxide profile image
Thomas H Jones II

It's the COBOL argument from the standpoint of "why should I learn ? Because there's going to be money to be made babysitting old code for the next decades."

Collapse
 
mahendrachoudhary profile image
Mahendra Choudhary

I coded web apps using php/laravel and some todo and blog apps using django . Now using ruby and rails from last three months and i can say that ruby itself very elegant and really make a programmer happy ,#ruby care about the #human #factor in #coding which other languages lack.

Rails is awesome, when it come to #productivity no other framework can beat it .That's why startups and enterprises used it for MVP development .

Github , gitlab ,shopify, airbnb are the example that rails apps can be scalable.

Students studying in universities not had a clue about what ruby and rails can bring to them .

There is lot of negative reports over internet about ruby and rails but i want to add that ruby and rails is loved among startups and web development comapnies .

Collapse
 
adrianblynch profile image
Adrian Lynch

Rails is awesome, when it come to #productivity no other framework can beat it.

I'd throw in ColdFusion as a challenger! :D

Collapse
 
mahendrachoudhary profile image
Mahendra Choudhary

But I am sure Andrian coldFusion doesn't have active records . I read about coldFusion its really fast and really impress how it work with java .Its rapid but still I think ruby (and rails) is more readable and elegant :). You work with coldFusion?

Collapse
 
truggeri profile image
Thomas Ruggeri

I got my first Ruby/RoR job in the fall of 2018. It's certainly possible to find good work with Ruby today. If you want to talk longer term, that's harder to predict. Who could have imagined ten years ago the number to js developers today?

Collapse
 
stereobooster profile image
stereobooster

I guess Ruby will have second wave of popularity after type checker will be added. A lot of things that Ruby did in the past was copied by other languages, because Ruby community tends to invent elegant solutions (Bundler, RoR, ActiveRecord, Sass, etc.)

Ruby is on the demand, but less popular because other languages drive away popularity from it, for example Elixir, JS+React+GraphQL, etc.

Collapse
 
leob profile image
leob • Edited

I'd say definitely yes, Ruby/Rails are a joy to work with and still one of the best tools to build web apps. For a new project I had a discussion with my client recently, and we ended up with PHP/Laravel rather than Rails because he's more familiar with PHP - but even then I benefit from my Rails knowledge because Laravel was so heavily inspired by it. Anyway, I believe it's good for any (senior) web dev to have more than one tool within their arsenal and for me Ruby/Rails should absolutely be there!

Collapse
 
sshnaidm profile image
Sergey

Is Ruby worth learning in 2019?

Nope. If you know, that's great, but its popularity goes down. RoR thing is still popular, but mostly in US and not as before.
Python beats it.
Who knows it will continue to do some things, but mostly it'll join PHP in the journey to the next world, where they join Pascal, Cobol and other ancestors.
Worth learning Python (if you by some reason still don't know it), Node.js, Go.

Collapse
 
lonestargeek profile image
LonestarGEEK

They said that about VB.NET...

Collapse
 
sidopsdev profile image
sid.rb

Short answer: Yes

Long answer: YEEEEEESSSSSSS

Collapse
 
apcampos profile image
apcampos

Ruby if anything else is major fun to play with. I never had so much satisfation writing code with such expressiveness. The ideas flow from your mind to your IDE really fast...
Also when you learn Ruby you become pretty much ready to jump to Elixir world.
And finally if you know Ruby you are very near to enjoy the amazing Crystal language ecosystem. Your ruby code (after some changes) will be just blazing fast!...
IMO Crystal will be a big thing in the future, so i think it's not a waste of time to learn Ruby today...

Collapse
 
ssimontis profile image
Scott Simontis

This is where I am...I discovered two really amazing blogs that convinced me to experiment with Elixir and Rust. Unfortunately it looks like Raindrop.io is having an outage right now so I can't post the links. One of the bloggers was part of the Agile Manifesto writers and his experiences with how Agile was commercialized matched my viewpoint. He is a huge Elixir advocate now it reminds me of F#, which is always a good thing in my mind!

Collapse
 
_juliettech profile image
juliette_chevalier • Edited

Ruby is a great language to learn and Ruby on Rails is a great asset for startups looking for fast prototyping and even bigger companies like the ones recurrently mentioned on the post (ie- Github, Apple.com, Shopify, etc). Also- as a reminder, Airbnb & Twitter both were originally built on RoR until fairly recently, which only validates the point that it's a great asset to start your company until you scale THAAT big. No need to build an overly complex app when you have no users and don't get their needs yet..

Also, as a programmer-friendly language, I think it's extremely valuable to use Ruby to understand the basic programming concepts to greater depth, and then, if desired, to change stack, which is then a lot easier.

-- Just to point out the 'if desired'.. There are a lot of Ruby/RoR good paying jobs out there as well and with the new release of Rails 6.0 things are about to get even funner πŸ˜›πŸ”₯

Collapse
 
mememe profile image
mememe

I have come from ASP and PHP and have since shifted to primarily working with Ruby in the last 8 years. I think the most important reason to learn a programming language is if it pays.

You can't continue to code in a hot programming language if there aren't any jobs that pay you satisfactorily.

Collapse
 
eldarshamukhamedov profile image
Eldar Shamukhamedov

Learning a language (and framework) well takes a long time, so it comes down to where you want to invest yours. RoR is good for some types of problems (building backends tightly coupled to a database), so that's what you can expect to find in terms of jobs. It used to be used for server side rendered MVC frontends as well, but most frontend folks would consider that architecture outdated nowadays.

If you're optimizing for the long term, Python has similar expressiveness to Ruby, with the benefit of rapid growth. You get your batteries included frameworks (Django), but also unlock access to a ton of devops and data science jobs. Python is a great long term investment, Ruby is much riskier.

Lastly, JavaScript is probably still the safest long term bet. Node is not what I would call "pleasant" to work with, but the ecosystem is exceptional. Getting proficient in JS keeps your options open, and allows you to contribute across the stack.

Collapse
 
vpenkoff profile image
Viktor Penkoff

Should you learn Ruby this year?

Since the question is related to Ruby, not RoR, my answer also relates to Ruby only.
So, should you learn ruby this year? Well, it depends. The language is just a tool. If you're beginner - yes, learn Ruby. It's a scripting language, it's expressive, easy to read, enjoyable to write, with rich standard library, it has very nice package manager, capable of doing most of the tasks.
If you're more senior - well, you need at least one scripting language anyway. So python, perl or ruby? Depends on the preferences that you have.
If we speak about a project - well, for MVP or prototyping, ruby is great. For more enterprise goals - again, it depends. Most of the time the prototypes are the ones that live in production systems anyway.

And to summarize: the language is a tool, give it a try, if you enjoy working with, there will always be a job for it. Don't think too much if it's worth learning or not. The experience that you'll get with it gonna pay afterwards in one way or another.

Collapse
 
chrisachard profile image
Chris Achard • Edited

Absolutely :)

It's not the cool fancy thing anymore - but it WORKS, and is used by thousands of businesses. Also - there is still really neat stuff going on with it! You can use React on top of it; you can use graphql with it even... if you're chasing fancy stuff, then you can still do it with Rails.

Mostly though: some of the most productive programming I've ever done has been in Rails... it lets you do so much (and does so much for you). I recommend it!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.