Ruby is often called a programmer best friend. Is that true?
Could be called that, because is define as
“[…] a dynamic, open source programming language with a focus on simplicity and productivity.”
Isn’t that what all the programming languages seek after? That cannot count as an advantage.
So, does Ruby HAS advantages? Yes, it does.
Beside from that brief explanation, Ruby is interpreted, reflective, object-oriented and also multi-platform.
Related Course: Learn Ruby On Rails For Web Development
If we go backwards to its creation, Yukihiro Matsumoto was inspired on Python, Perl and Smalltalk.
All of those programming languages have the same advantages.
Then, what makes Ruby unique?
Well, Ruby was made to be fun, thinking more on the user than the machine.
Having said that, which are Ruby’s disadvantages?
First, we know for fact Rails made Ruby reach the top of the programming languages. But Ruby on Rails it is its own Achilles heel.
Users of Ruby on Rails usually complain about the same issues:
The Runtime Speed is slow, yet, developers don’t have to worry about it −that much− if they don’t have a huge successful application.
The Boot Speed can have troubles depending on gems and files. Users and developers continue to thinking it could be faster.
The Active Record shows again the Ruby gems seem as an inconvenience. It can offer a good design patron, but that’s exactly what can lead to bad decisions.
The Slow Processing: this seems to be the common point. Programmer’s magic word is faster. Programming takes time, that’s not a secret and using a slow programming languages is not ideal.
There are a lot of website that test the response times of programming languages and guess what? Ruby is not going the way it should.
With a quick search you can find better options.
Ruby is relatively easy to learn. You can find less than 30 minutes tutorials to do the basics.
Nevertheless, technologies grow up quickly and we always want the last version of the programming languages.
Some other languages offer more usual upgrades.
Compare to C++, you may say Ruby is a newly created language.
Ruby has its own coding language, which force the programmers to learn it before they can start using it.
Mostly of programmers that don’t invest the time that way, prefer others popular programming languages.
But compare the syntax between C++ and Ruby.
The popular program “hello world” is shown below:
Now in Ruby:
Last but not least, are the multithreading and the graphical user interface.
As for the first, programmers must be careful in order to avoid performance issues.
As for the second, its possible do desktop the graphical user interface, but others platforms and languages are better.
Basically, the biggest disadvantage of Ruby programming language is the competition.
If you are new to Ruby, I highly recommend this book.