Interesting facts about Ruby Programming Language

Ruby is an interpreted, high-level, dynamic, general-purpose, open source programming language which focuses on simplicity and productivity. It was designed and developed in the mid-1990s by Yukihiro Matsumoto (also known as Matz in the Ruby community) in Japan.

Here are some interesting facts about Ruby:

  1. Ruby came into existence as Yukihiro Matsumoto, wanted a scripting language more powerful than Perl, and more object oriented than Python.
  2. The name Ruby for the language got originated in an online chat session between Matsumoto and Keiju Ishitsuka on February 24, 1993 before even any code was written in the language. Initially two names were suggested ie Coral or Ruby. The name Ruby was later chosen by Matsumoto in an email to Ishitsuka.
  3. Ruby is often confused with Ruby on Rails, which is a server-side framework written in Ruby under the MIT License for implementing web applications.
  4. Ruby’s libraries and packages are managed through central library management system called Rubygems.
  5. Ruby supports multiple programming paradigms, such as procedural programming, object-oriented programming, as well as functional programming, which makes it unique in the programming world.
  6. Ruby Interpreter (Interactive Ruby/irb) can be used as a calculator.
  7. Ruby has built in support for Rational numbers and Complex numbers, which helps in solving complex mathematical problems.
  8. Ruby allows code embedding. For example, Ruby can be embedded into Hypertext Markup Language (HTML).
  9. Ruby users can take the advantage of Dynamic typing and Duck typing.
  10. Ruby understands and uses “nil” instead of “null”.


My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



Improved By : Akanksha_Rai



Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.