Ruby (programming language)
|Paradigm||multi-paradigm: object-oriented, imperative, functional, reflective|
|Designed by||Yukihiro Matsumoto|
|Developer||Yukihiro Matsumoto, et al.|
|Stable release||2.3.1 / April 26, 2016|
|Typing discipline||duck, dynamic|
|Scope||lexical, sometimes dynamic|
|License||Ruby License or BSD License|
|Filename extensions||.rb, .rbw|
|Ruby MRI, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, HotRuby, IronRuby, mruby|
|Ada, C++, CLU, Dylan, Eiffel, Lisp, Perl, Python, Smalltalk|
|D, Elixir, Falcon, Fancy, Groovy, Ioke, Mirah, Nu, Reia|
Ruby is the name of a programming language that was created in the mid-1990s by Yukihiro "Matz" Matsumoto in Japan. Like other programming languages, such as Python, its structure (the way it works) is very similar to the English language. It has these qualities:
- Terse. Short, but still easy to understand.
- Dynamic. Easy to change, anytime and anywhere.
- 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[change | change source]
An example Hello World program in Ruby:
puts "Hello World!" gets" a=10;"
References[change | change source]
- "Ruby 2.3.1 Released". ruby-lang.org. 2016-04-26. Retrieved 10 May 2016.
- COPYING in Ruby official source repository
- BSDL in Ruby official source repository
- 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.
- 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.
- Intro – D Programming Language 1.0 – Digital Mars
- Bertels, Christopher (23 February 2011). "Introduction to Fancy". Rubinius blog. Engine Yard. Retrieved 2011-07-21.
- Bini, Ola. "Ioke". Ioke.org. Retrieved 2011-07-21.
inspired by Io, Smalltalk, Lisp and Ruby
- Burks, Tim. "About Nu™". Programming Nu™. Neon Design Technology, Inc. Retrieved 2011-07-21.
- "About ruby".
Other websites[change | change source]
|Wikimedia Commons has media related to Ruby programming language.|
|The English Wikibooks has more information on:|
|Wikiversity has more on: Topic:Ruby|
- Official website
- Ruby documentation site
- Ruby Draft Specification- Sep 2010
- Wiki: Ruby language and implementation specification
- Ruby at the Open Directory Project