Ruby (programmin leid)

Frae Wikipedia, the free beuk o knawledge
Ruby logo.svg
Paradigm(s)Multi-paradigm: Object-oriented, imperative, functional, reflective
Appeared in1995; 27 years ago (1995)
Designed biYukihiro Matsumoto
DeveloperYukihiro Matsumoto, et al.
Stable release2.4.1 (Mairch 22, 2017; 5 years ago (2017-03-22)[1])
Typin disciplineDuck, dynamic, strang
ScopeLexical, sometimes dynamic
Major implementationsRuby MRI, YARV, Rubinius, MagLev, JRuby, MacRuby, RubyMotion, Mruby
Influenced biAda,[2] C++,[2] CLU,[3] Dylan,[3] Eiffel,[2] Lua, Lisp,[3] Perl,[3] Python,[3] Smalltalk[3]
InfluencedCoffeeScript, Clojure, Crystal, D, Elixir, Falcon, Groovy, Ioke,[4] Julia,[5] Mirah, Nu,[6] potion, Reia, Rust, Swift[7]
Implementation leidC
LicenseRuby, GPLv2 or 2-clause BSD license[8][9][10]
Usual filename extensions.rb

Ruby is a dynamic, reflective, object-orientit, general-purpose programmin leid. It wis designed an developed in the mid-1990s bi Yukihiro "Matz" Matsumoto in Japan.

References[eedit | eedit soorce]

  1. "Ruby 2.4.1 Released". Ruby Programming Language. 22 Mairch 2017. Retrieved 23 Mairch 2017.
  2. a b c 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.
  3. a b c d e f 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.
  4. Bini, Ola. "Ioke". Archived frae the original on 21 Julie 2011. Retrieved 21 Julie 2011. inspired by Io, Smalltalk, Lisp and Ruby
  5. "Introduction — Julia Language 0.4.1 documentation". Archived frae the original on 17 November 2015. Retrieved 13 November 2015.
  6. Burks, Tim. "About Nu™". Programming Nu™. Neon Design Technology, Inc. Archived frae the original on 24 Julie 2011. Retrieved 21 Julie 2011.
  7. Lattner, Chris (3 Juin 2014). "Chris Lattner's Homepage". Chris Lattner. Retrieved 3 Juin 2014. The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far ower mony others to list.
  8. "[ruby] Contents of /trunk/COPYING". Archived frae the original on 20 Mairch 2017. Retrieved 2 Mey 2015.
  9. "[ruby] Contents of /trunk/GPL". Archived frae the original on 21 Mairch 2022. Retrieved 2 Mey 2015.
  10. "[ruby] Contents of /trunk/BSDL". Archived frae the original on 21 Mairch 2022. Retrieved 2 Mey 2015.