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”.
- Interesting Facts about R Programming Language
- Ruby Programming Language (Introduction)
- Difference Between Machine Language and Assembly Language
- Similarities and Differences between Ruby and C language
- The complete History of Java Programming Language
- Interesting Examples of algorithms in everyday life
- Interesting fact about Scala
- Object-Oriented Programming in Ruby | Set 1
- Object Oriented Programming in Ruby | Set-2
- Boxplots in R Language
- Unified Modeling Language (UML) | Class Diagrams
- chdir() in C language with Examples
- What is the difference between a language construct and a “built-in” function in PHP ?
- HTTP headers | Content-Language
- HTTP headers | Accept-Language
- How to detect Browser Language in PHP?
- Histograms in R language
- Scatter plots in R Language
- What is COBOL(Common Business Oriented Language)?
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