Jump to content

Ruby (programming language)

From Simple English Wikipedia, the free encyclopedia
Revision as of 18:31, 5 May 2013 by PragmaticThinking (talk | changes) (Updated core article.)
Ruby
Paradigmmulti-paradigm: object-oriented, imperative, functional, reflective
Designed byYukihiro Matsumoto
DeveloperYukihiro Matsumoto, et al.
First appeared1995
Stable release2.0.0-p0 / February 24, 2013 (2013-02-24)
Typing disciplineduck, dynamic
Scopelexical, sometimes dynamic
OSCross-platform
LicenseRuby License or BSD License[1][2]
Filename extensions.rb, .rbw
Websitewww.ruby-lang.org
Major implementations
Ruby MRI, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, HotRuby, IronRuby, mruby
Influenced by
Ada,[3] C++,[3] CLU,[4] Dylan,[4] Eiffel,[3] Lisp,[4] Perl,[4] Python,[4] Smalltalk[4]
Influenced
Elixir, Falcon, Fancy,[5] Groovy, Ioke,[6] Mirah, Nu,[7] 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.[8]

References

  1. COPYING in Ruby official source repository
  2. BSDL in Ruby official source repository
  3. 3.0 3.1 3.2 Cooper, Peter (2009). Beginning Ruby: From Novice to Professional. Beginning from Novice to Professional (2nd ed.). Berkeley: APress. p. 101. ISBN 1-4302-2363-4. To a lesser extent, Python, LISP, Eiffel, Ada, and C++ have also influenced Ruby.
  4. 4.0 4.1 4.2 4.3 4.4 4.5 Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java. Berkeley: APress. p. 3. ISBN 1-59059-881-4. It draws primarily on features from Perl, Smalltalk, Python, Lisp, Dylan, and CLU.
  5. Bertels, Christopher (23 February 2011). "Introduction to Fancy". Rubinius blog. Engine Yard. Retrieved 2011-07-21.
  6. Bini, Ola. "Ioke". Ioke.org. Retrieved 2011-07-21. inspired by Io, Smalltalk, Lisp and Ruby
  7. Burks, Tim. "About Nu™". Programming Nu™. Neon Design Technology, Inc. Retrieved 2011-07-21.
  8. "About ruby".

Other websites