The programming world is always competitive. For instance, look at the Python and Ruby languages. It is very evident that a battle has been going on between them for a long time. Both are very popular and play a very crucial role in the web development even though the other mobile languages are emerging.
It could be because the object-oriented languages are very good at solving an array of problems. And guess what, it is very easy to learn both the languages. But, you would certainly be confused like everyone else if you are asked to choose either Ruby or Python first. If you have chosen to go ahead with the Ruby, here is a simple step for you to start learning the language.
How to start learning the Ruby language easily
You can start learning the Ruby language using the Try Ruby (add an anchor for this bolded text: http://tryruby.org/levels/1/challenges/0) simple interactive code sandbox from the CodeSchool. The tutorial is very simple and contains very simple instructions as shown in the screenshot below. You will just have to type very simple commands such as ‘4*10’ which doesn’t even look like a command. But you know what, you have just learned on how Ruby deals with the math operators.
As you finish the first level and keep continuing the tutorial, you would learn the basic building blocks of the Ruby language such as the numbers, Strings, properties and the methods.
There are six levels with several challenges to guide you through the initial steps:
- An introduction to numbers, Strings, properties, and methods.
- Learn about conversions, arrays, variables, and more methods.
- Review printing, brackets, and String manipulation.
- Take a shot at method chaining, hashes, keys, and values.
- Study up on blocks, directories, and method arguments.
- Start building methods, libraries, popups, and HTML with Ruby
Every lesson is simple and fun. Besides that, you will be alerted in case if you make any wrong step. And the most important thing about the tutorial is that it will take less than 30 minutes to finish every level or may be lesser than that if you are an expert.
Although you cannot learn every nook and corner of the Ruby language, this method will certainly help you to lay a good foundation in it.
You may also like: Easy programming languages for beginners
It’s not very easy surviving in the world of programming unless you update your programming skills and learn additional languages. This piece of advice is especially for the ones who have any object oriented programming languages like Java or C# to their credit.
If you would also learn a new language like Ruby and add it to your resume along with your existing skills, you can make sure that you are a step ahead than several others in this competitive field.
There are several other advanced tutorials wherein you can learn the Ruby language entirely. But we found the aforementioned site in this tutorial better because it would give a basic idea of what the Ruby language is all about in the simplest manner. However, let us know your reviews in this comments section below. Also, comment in your existing programming skills. We’d love to hear about it from you.