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:
- Ruby came into existence as Yukihiro Matsumoto, wanted a scripting language more powerful than Perl, and more object oriented than Python.
- 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.
- 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.
- Ruby’s libraries and packages are managed through central library management system called Rubygems.
- 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.
- Ruby Interpreter (Interactive Ruby/irb) can be used as a calculator.
- Ruby has built in support for Rational numbers and Complex numbers, which helps in solving complex mathematical problems.
- Ruby allows code embedding. For example, Ruby can be embedded into Hypertext Markup Language (HTML).
- Ruby users can take the advantage of Dynamic typing and Duck typing.
- Ruby understands and uses “nil” instead of “null”.
- Ruby Programming Language (Introduction)
- The complete History of Java Programming Language
- Similarities and Differences between Ruby and C language
- Object Oriented Programming in Ruby | Set-2
- Object-Oriented Programming in Ruby | Set 1
- Interesting fact about Scala
- Interesting Examples of algorithms in everyday life
- chdir() in C language with Examples
- HTTP headers | Content-Language
- HTTP headers | Accept-Language
- Unified Modeling Language (UML) | Class Diagrams
- What is the difference between a language construct and a “built-in” function in PHP ?
- Web Programming in C++
- How can competitive programming help you get a job?
- Perl | CGI Programming
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.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