kids encyclopedia robot

Ruby (programming language) facts for kids

Kids Encyclopedia Facts
Quick facts for kids
Ruby
Ruby logo.svg
Paradigm multi-paradigm: object-oriented, imperative, functional, reflective
Designed by Yukihiro Matsumoto
Developer Yukihiro Matsumoto, et al.
First appeared 1995
Stable release 2.3.1 / April 26, 2016; 7 years ago (2016-04-26)
Typing discipline duck, dynamic
Scope lexical, sometimes dynamic
OS Cross-platform
License Ruby License or BSD License
Filename extensions .rb, .rbw
Major implementations
Ruby MRI, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, HotRuby, IronRuby, mruby
Influenced by
Ada, C++, CLU, Dylan, Eiffel, Lisp, Perl, Python, Smalltalk
Influenced
D, Elixir, Falcon, Fancy, Groovy, Ioke, Mirah, Nu, Reia

Ruby is a language in text used to tell machines what to do - a programming language. Ruby was created in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan.

It looks like the English language, like the language you are reading now. It has more qualities:

  • Terse. Short, but still easy to understand.
  • Dynamic. Easy to change, any time and any where.
  • Duck typing. If you think you understand it, you probably understand it.

Many programmers like it because the creator tried to make it easy and nice to use.

Example

An example Hello World program in Ruby:

puts "Hello World!"

Images for kids

See also

Kids robot.svg In Spanish: Ruby para niños

kids search engine
Ruby (programming language) Facts for Kids. Kiddle Encyclopedia.