Ruby (programming language): Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Alex Bravo
mNo edit summary
imported>Alex Bravo
mNo edit summary
Line 1: Line 1:
'''Ruby''' is a [[Reflection (computer science)|reflective]], [[Dynamic programming language|dynamic]], [[object-oriented programming language]]. It combines syntax inspired by [[Perl]] with [[Smalltalk programming language|Smalltalk]]-like object-oriented features, and also shares some features with [[Python (programming language)|Python]], [[Lisp programming language|Lisp]], [[Dylan programming language|Dylan]] and [[CLU programming language|CLU]]. Ruby is a single-pass [[interpreted language]]. It is focused on simplicity and productivity and has an easy to read and write syntax. Its main implementation is [[free software]].
'''Ruby''' is a [[Reflection (computer science)|reflective]], [[Dynamic programming language|dynamic]], [[object-oriented programming language]]. It combines syntax inspired by [[Perl]] with [[Smalltalk programming language|Smalltalk]]-like object-oriented features, and also shares some features with [[Python (programming language)|Python]], [[Lisp programming language|Lisp]], [[Dylan programming language|Dylan]] and [[CLU programming language|CLU]]. Ruby is a single-pass [[interpreted language]]. It is focused on simplicity and productivity and has an easy to read and write [[syntax]]. Its main implementation is [[free software]].
 
==Syntax==
==Syntax==



Revision as of 12:45, 26 February 2007

Ruby is a reflective, dynamic, object-oriented programming language. It combines syntax inspired by Perl with Smalltalk-like object-oriented features, and also shares some features with Python, Lisp, Dylan and CLU. Ruby is a single-pass interpreted language. It is focused on simplicity and productivity and has an easy to read and write syntax. Its main implementation is free software.

Syntax

Hello World

puts "Hello, world!"

External links