Content deleted Content added
No edit summary |
clarify, wikify, remove non-standard terminology |
||
Line 1:
[[de:Ruby]][[eo:Ruby Komputillingvo]][[fr:Ruby]][[nl:programmeertaal Ruby]][[ja:プログラミング言語Ruby]][[pl:Ruby (j%C4%99zyk_programowania)]]
'''Ruby''' is
Ruby currently has only one implementation, the Ruby [[interpreter (computer software)|interpreter]], although efforts are underway to implement a Ruby front end (called "Cardinal") for the [[Parrot virtual machine]].
Ruby language features:
*
*
**
** [[
** [[
* [[Operator overloading]]
* [[Exception handling]]
* [[Iterator]]s (which resemble those in [[CLU programming language|
* [[Closure (programming)|Closure]]s (also found in [[Smalltalk programming language|Smalltalk]] and many [[functional programming language]]s)
* Syntactic support for [[Perl]]-like [[regular expression]]s at the language level (not merely in [[library (software)|libraries]], as in Python or many other languages)
* [[
* [[DLL|Dynamic
* High portability (runs on [[Unix]], [[Microsoft Windows]], [[DOS]], [[Mac OS X]], [[OS/2]], [[Amiga]], and many more)
* Distributed under
Ruby is purely object-oriented: every bit of data is an object,
The language was created by [[Yukihiro Matsumoto]] (a.k.a. "Matz") on February 24, [[1993]]. The current stable version is 1.6.8. Note that the name is not an
[[acronym]]--it is actually a [[pun]] on [[Perl]]. According to the author, he
designed Ruby to follow the ''[[principle of least surprise]]'' (POLS), meaning that the
language should be free from the traps and inconsistencies that plague other
languages.
From the Ruby [[FAQ]]: ''If you like Perl, you will like Ruby and be right at home with its syntax. If you like Smalltalk, you will like Ruby and be right at home with its semantics. If you like Python, you may or may not be put off by the huge difference in design philosophy between Python and Ruby/Perl.''
Here is a sample of Ruby code:
Line 53 ⟶ 52:
* [http://www.rubycentral.com/faq/rubyfaqall.html Ruby FAQ]
* [http://www.rubygarden.org/ Ruby Garden]
* [http://savannah.gnu.org/projects/cardinal/ Cardinal (Ruby front end for Parrot)]]
|