Why learn Ruby and Ruby on Rails in 2017 ?

If you’re a beginner and want to get started with learning to code and get into development, I’d recommend you to learn Ruby as your first language. If you’re already an experienced developer or already know at least oneprogramming language, I’d still recommend you to learn Ruby 🙂 .

In this post, I’ll try to answer the question that Why should you learn Ruby and Ruby on Rails, either being a beginner or an experienced developer.

 

What is Ruby and Ruby on Rails?

Ruby is a programming language as simple as we can say. It’s a fully dynamic and Object Oriented programming language. Ruby was developed by Yukhiro Matsumoto in 1990s. It gained popularity after Ruby on Rails framework was developed.
“Ruby on Rails” (or simply “Rails”) on the other side, is a Web Application Development framework developed by David Heinemeier Hansson in 2003. Rails is an open source MVC web framework and one of the coolest websites like Twitter, Github Hulu, SoundCloud, Basecamp, Groupon, Airbnb and many more are built using Rails. So with that said, let’s just walk you through why should you learn Ruby and Ruby on Rails in 2017.

Beginner Friendly, Programmer Friendly

Ruby was specifically designed to make programmers happy and because of its simplicity and elegance most beginners find it extremely simple and quickly adapt to it so easily. Not only beginners but people who already have experienced programming in any other language, they find it really easy and elegant because ROI(return on investment) of the time invested learning Ruby and Rails is splendid to the outcome you achieve. That’s why I recommend anybody to learn Ruby as their first language or second language. I myself first learn to program in C, C++, Java, C# when I get started as a Computer Science student, but when I started learning Ruby I find it extremely elegant and simplistic which does the same thing which I use to do in other languages, writing a couple lines of code, in only one line of code in Ruby!!!
Let me show you an example:

Here’s a Java code that displays “Hello World” 3 times.

public class PrintThreeTimes{
    public static void main(String[] args){
        for(int i=0;i<3;i++){
            System.out.print("Hello World");
        }
    } 
}

And the same thing done in Ruby

10.times do { puts "Hello world" }

Looks elegant, doesn’t it?
It almost looks like normal English.

Let’s have another example, Here is a working program which prints “Augusta, we

A love letter written in Ruby

Even a non programmer can make sense of what’s going on in this program. I haven’t seen any other programming language doing it so neatly and elegantly the way Ruby can do it 🙂 . Here’s the code if you want to give it a try yourself.

Rails has An Awesome Community

Ruby and Ruby on Rails has got an awesome community and support of committers and developers who are keeping the rails in an awesome form and that makes it really beginner friendly. Rails community welcome everyone from any background and age group. Online community can be found on Ruby on Rails : Talk Mailing List , and Ruby on Rails Stackoverflow Q&A tag. Plus you can also reach them on their IRC channel #rubyonrails on irc.freenode.net. Check out their community page at http://rubyonrails.org/community/ for more info.

Rails Follow Best Development Practices and Principles

Ruby on Rails core principle of development is “Convention over Configuration”, which pushes you to follow certain good practices by default and that way not only you learn those principles fast as a beginner but you also build your application quickly. That’s why Rails is very good for rapid prototyping. With just a few steps you can quickly build a working prototype of your application. Moreover, Rails encourages the test-driven development which brings agility to the workflow of the project. Following those principles makes it easy to maintain the code and any new developer familiar with rails architecture can get started with a codebase as quickly as possible without any hindrance, no matter how big that codebase is.

Rails is a Full Stack Framework

Ruby on Rails is a full-stack web application framework and you are in the full control of front end and the back end of your app. A ruby on rails developer can develop a fully functional web app without depending on any frond end developer or team because you are in fully control of your HTML and CSS. It makes it dead simple to convert all your App logic of your frond end into AJAX. Moreover, Rails can easily get along with any popular JavaScript framework such as AngularJS, React.JS, Ember JS etc. so easily and seamlessly. Also, Ruby on Rails can get along with any SQL based or NoSQL database via its awesome Active Record CRUD model.

Abundant Learning Resources

There are a tons of quality online courses, Books, MOOCs (Massive Open Source Online Courses) of all levels (Beginner to Advanced) from where you can learn Ruby and Ruby on Rails. And the good news is that most of them are totally Free which makes new learners get in to game quickly(I’ll be posting about the best resources to teach yourself Ruby and Ruby on Rails Soon ). Railscasts is the most popular series of rails screencasts and short tutorials related to ruby on rails and its different gems. It’s a very good starting point to get started with rails.

Lightweight, Powerful and Scalable Framework

Ruby on Rails is a very light weight and powerful framework which can scale-up to any size of the application. A lot of famous websites such as Twitter, Hulu, Github, SoundCloud, Groupon, Ask.fm, Airbnb, Basecamp and many more are already using Rails and it’s been working awesome for them. Also “Metasploit”, the most popular information security tool used by many individuals and companies around the world has been built using Ruby. It can be seen clearly that Ruby and Ruby on Rails both fully capable and powerful enough to build any kind of software.

Conclusion

So, in summary, Ruby and ruby on rails is a decent choice for beginners and new learners as it has a low learning curve and on top of that the framework is backed up by a supportive and encouraging community of developers. It got everything which a software development framework should ideally have and ensures to follow the best software development practices to keep things in control. So In general Learning Ruby/Ruby on Rails as a beginner/intermediate/experienced is a very decent choice in modern era of development and I personally highly recommend it.
I hope you like this article about Why should you learn Ruby and Ruby on Rails. I’d love to hear your comments, thoughts and suggestions about it. Feel free to share your opinion in comments. Or you can email me at me@shabbirhaider.com. Thanks for reading and happy learning 🙂

 

Shabbir

I'm student of computer Sciences and Self Taught Developer, dedicated to Self Education via MOOCs :)

 

5 thoughts on “Why learn Ruby and Ruby on Rails in 2017 ?

  1. I seriously love your site.. Pleasant colors & theme. Did you
    build this site yourself? Please reply back as I’m trying to create my own personal blog
    and would love to know where you got this from or just what the theme is called.
    Kudos!

    1. Thanks Chrinstine, I custom designed this theme, it’s pretty simple at this stage, however I’m planning to improvise a couple things. I’m glad that you like my site 🙂

  2. Wow………very nice.keep it up
    and spread the MOOCs as many as you can.It is excellent to disseminate one’s knowledge. Also include some illustration to enhance the quality of your website.To begin with it is a good endeavor of yours.All the best for future.

Leave a Reply

Your email address will not be published. Required fields are marked *