Ruby (programming language)
From Wikipedia, the free encyclopedia
Not to be confused with Ruby on Rails.
| Paradigm(s) | multi-paradigm: object-oriented, imperative, functional, reflective |
|---|---|
| Appeared in | 1995 |
| Designed by | Yukihiro Matsumoto |
| Developer | Yukihiro Matsumoto, et al. |
| Stable release | 2.1.3 / September 19, 2014[1] |
| Typing discipline | duck, dynamic |
| Scope | lexical, sometimes dynamic |
| Major implementations | Ruby MRI, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, HotRuby, IronRuby, mruby |
| Influenced by | Ada,[2] C++,[2] CLU,[3] Dylan,[3] Eiffel,[2] Lisp,[3] Perl,[3] Python,[3] Smalltalk[3] |
| Influenced | D,[4] Elixir, Falcon, Fancy,[5] Groovy, Ioke,[6] Mirah, Nu,[7] Reia |
| OS | Cross-platform |
| License | Ruby License or BSD License[8][9] |
| Usual filename extensions | .rb, .rbw |
| Website | www.ruby-lang.org |
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.[10]
References[change | change source]
- ↑ "Ruby 2.1.3 Released". ruby-lang.org. 2014-09-19. https://www.ruby-lang.org/en/news/2014/09/19/ruby-2-1-3-is-released/. Retrieved 30 September 2014.
- ↑ 2.0 2.1 2.2 Cooper, Peter (2009). Beginning Ruby: From Novice to Professional. Beginning from Novice to Professional (2nd ed.). Berkeley: APress. p. 101. . "To a lesser extent, Python, LISP, Eiffel, Ada, and C++ have also influenced Ruby."
- ↑ 3.0 3.1 3.2 3.3 3.4 3.5 Bini, Ola (2007). Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java. Berkeley: APress. p. 3. . "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. http://rubini.us/2011/02/23/introduction-to-fancy/. Retrieved 2011-07-21.
- ↑ Bini, Ola. "Ioke". Ioke.org. http://ioke.org/. Retrieved 2011-07-21. "inspired by Io, Smalltalk, Lisp and Ruby"
- ↑ Burks, Tim. "About Nu™". Programming Nu™. Neon Design Technology, Inc.. http://programming.nu/about. Retrieved 2011-07-21.
- ↑ COPYING in Ruby official source repository
- ↑ BSDL in Ruby official source repository
- ↑ "About ruby". http://www.ruby-lang.org/en/about/.
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