I was a Rails dev for the past 7 years, switched to a React position a couple months ago. There was a lot of hand wringing a few years back that Rails was quickly losing popularity, but gauging by my recent time on the job market it is still very hot. It seems like I had just as many recruiters contacting me for Rails positions as they did React. I somewhat suspect this is because many people transitioned to other th…
Ask HN: Is Ruby on Rails still worth learning?
71–80 of 87 posts
Re: Ask HN: Is Ruby on Rails still worth learning?
#72306 points by bdcravens 49 days ago
333 comments
Re: Ask HN: Is Ruby on Rails still worth learning?
#73What will really help you the most is learning a second tool chain after the first. This will introduce you to new and differing patterns that allow you to see the pros and cons so many here are stating.
You'll find most people have changed frameworks and languages throughout their careers. You have to with ever evolving technology. So X vs Y doesn't matter too much. At some point both could be obsolete.
The goal you seem to be after is learning web development in general. While there could be any number of paths, I would recommend whatever one you have the most resources for.
If you know developers that you can have help mentor you and they use X... then use X. Because nothing beats having a 10 minute explanation when you are learning compared to a blog post.
If you don't have in person mentors, then find X framework that has the most resources. You'll find the more stable frameworks tend to have the most documentation, go figure.
I'd also start out with a full stack framework. This is because you will already be learning so much that it can be overwhelming. Don't lose motivation to continue learning programming by trying to learn every little piece of web development. Just get something simple working. Then use libraries to add functionality. You'll get more excited having built something. Then go start to see how the library works internally and start your deep dives into core functionally apps have to have. Like authentication, authorization, validation, databases, etc.
The biggest problem I see with new or prospective developers is analysis paralysis. Pick anything and build something. If you aren't having fun you won't keep at it.
As far as employability... it's the principles you learn from building something that matter more than the framework. At lots of companies you won't even find language or framework in the job posting. This is because they understand someone who had learned the strengths and weaknesses of patterns will be more valuable. Those are harder and take longer to teach than a second language to someone. While already knowing the toolset never hurts, it often isn't a requirement.
P.S. I'm biased... use Ruby and Rails
Update: corrected protective to prospective.
Re: Ask HN: Is Ruby on Rails still worth learning?
#74Yes. But any modern web framework would also work. The patterns and practices you will learn from any of them will be mostly comparative. What will really help you the most is learning a second tool chain after the first. This will introduce you to new and differing patterns that allow you to see the pros and cons so many here are stating. You'll find most people have changed frameworks and languages throughout their…
Rails is probably still the best implementation of a full-stack framework, and I agree that full-stack frameworks are are the best way to learn.
Despite working for a Rails shop for a long time, I would probably not recommend Rails itself for completely new programmers anymore, just because they would probably be better served learning Python than Ruby these days.
Re: Ask HN: Is Ruby on Rails still worth learning?
#75But in practice, I'm more productive will Rails than anything else. I've spent most of my time the past few years with other languages and frameworks, but I'm still more productive with Rails than anything else when making webapps.
Of course, there is a lot of understandable excitement these days around SPA tech like React, which you should probably use on the frontend. Just set Rails to API mode. The productivity of Rails is all of the useful backend features that have been packed in. Out of the box, you have database integration, migrations, data validation tools, email sending, web sockets, background jobs, file uploads, and a dozen other features, all wrapped up in a simple architecture. Simple to integrate gems can add pretty much any feature you need, like authentication, graphql, or search. On top of that, the wealth of documentation and example code is really incredible.
And since Rails projects all have the same core and architecture, most knowledge you gain on one Rails project is transferable to any other rails project. I wish I could say the same for my work in React projects, for example. React projects often use dozens of other libraries, and each project requires me to learn that project's unique set of libraries, their architectural decisions and so on.
If you want to get hired right now? Learn React, redux, and friends. But if you want to MVP a project and need something for the backend, Rails all the way.
Re: Ask HN: Is Ruby on Rails still worth learning?
#76It's not directly related, if I have the same question but change ruby and rails with php and laravel. What's your answer? I saw many early stage startups build their MVP using laravel.
Basically it feels like php did back in 2012. There wasn't really a 'framework'... there were a few popular ones: codeigniter, symfony, zend -- but until the entire dev base flocked to laravel you really didn't have that community.
Then laravel kept just becoming stronger and stronger, and then vue came about and fit perfectly along side laravel. JS has no real backend that the entire community has adopted. I mean a large part of the js community doesn't even use backends they use serverless or BaaS like firebase, and there's definitely no really good full-stack frameworks esp since you now need to choose one that fits your 'flavor' (vue/react/angular).
Whatever you do, you WILL probably want to learn react or vue, I prefer vue, but that's just my preference. Vue/react are very employable skills right now. React more so, but vue is rising in popularity and I think will surpass react (I hope)...