The Wayback Machine - https://web.archive.org/web/20240623105227/https://www.geeksforgeeks.org/interesting-facts-about-ruby-programming-language/
Open In App

Interesting facts about Ruby Programming Language

Last Updated : 30 Sep, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

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”.

Previous Article
Next Article

Similar Reads

Ruby Programming Language (Introduction)
Ruby is a pure Object-Oriented language developed by Yukihiro Matsumoto (also known as Matz in the Ruby community) in the mid 1990’s in Japan. Everything in Ruby is an object except the blocks but there are replacements too for it i.e procs and lambda. The objective of Ruby's development was to make it act as a sensible buffer between human program
4 min read
How to install Ruby Programming Language on Manjaro Linux?
Ruby is an open-source, dynamic, cross-platform, object-oriented, general-purpose programming language. It was developed by Yukihiro Matsumoto in the mid-1990s in Japan. Everything in Ruby is an object except the blocks but there are replacements for those as well, i.e procs and lambda. The language is based on many other languages, such as Perl, L
1 min read
How to install Ruby Programming Language on Godaddy Server?
GoDaddy VPS is a shared server that provides computational services, databases, storage space, automated weekly backups, 99% uptime, and much more. It’s a cheaper alternative to some other popular cloud-based services such as AWS, GPC, and Azure. Ruby is an open-source, dynamic, cross-platform, object-oriented, general-purpose programming language
1 min read
Ruby Programming Language
Ruby is a dynamic, reflective, object-oriented, general-purpose programming language. Ruby is a pure Object-Oriented language developed by Yukihiro Matsumoto. Everything in Ruby is an object except the blocks but there are replacements too for it i.e procs and lambda. The objective of Ruby’s development was to make it act as a sensible buffer betwe
2 min read
Difference between Ruby and Ruby on Rails
1. Ruby : Ruby is an object-oriented scripting language launched in 1995 and is known as a general-purpose programming language. It was programmed in C programming language. Ruby is a secured programming language and its syntax is similar to Perl and Python. It was developed on the principle of user interface design and it is mainly used to develop
3 min read
Similarities and Differences between Ruby and C language
Similarities between Ruby and C There are many similarities between C and Ruby, and some of them are: Like C, in Ruby also… A programmer is able to program procedurally if they like to do. But still, behind the scenes, it will be object-oriented.Both the languages have the same operators, for example, compound assignment and bitwise operators. But
3 min read
Object-Oriented Programming in Ruby | Set 1
When we say object-oriented programming, we mean that our code is centered on objects. Objects are real-life instances that are classified into various types. Let’s take an example to understand this better. If we consider a rose as an object, then the class of the rose will be flower. A class is like the blue-print of an object and describes the a
9 min read
Object Oriented Programming in Ruby | Set-2
Prerequisite: Object Oriented Programming in Ruby | Set-1 Inheritance Inheritance is one of the solid fundamental characteristics of object-oriented programming. sometimes we might need certain features of a class to be replicated into another class. Instead of creating that attribute again, we can inherit the attribute from the other class. The cl
8 min read
Learn Programming Languages- List of Top 11 Programming Languages
In this rapidly growing world, programming languages are also rapidly expanding, and it is very hard to determine the exact number of programming languages. It is an essential part of software development because it creates a communication bridge between humans and computers. Now, if you are a beginner who wants to learn, search the internet, you w
9 min read
Private Classes in Ruby
The concept of private, protected and public methods in Ruby is a bit different than it other languages like Java. In Ruby, it is all about which class the person is calling, as classes are objects in ruby. Private Class When a constant is declared private in Ruby, it means this constant can never be called with an explicit receiver, a private cons
3 min read
Article Tags :