Ruby programming language - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming » Ruby programming language


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 08-19-2006   #1 (permalink)
Ankita
Member
 
Join Date: Jul 2006
Age: 25
Posts: 53
Default Ruby programming language

Ruby programming language

Ruby is a reflective, object-orientedprogramming 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. Its main implementation is free software distributed under an open-source license.


Ruby is object-oriented: every bit of data is an object, even classes and types that many other languages designate as primitives (such as integers, booleans, and "nil"). Every function is a method. Named values (variables) always designate references to objects, not the objects themselves. Ruby supports inheritance with dynamic dispatch, mixins and singleton methods (belonging to, and defined for, a single instance rather than being defined on the class). Though Ruby does not support multiple inheritance, classes can import modules as mixins. Procedural syntax is supported, but everything done in Ruby procedurally (that is, outside of the scope of a particular object) is actually done to an Object instance named 'main'. Since this class is parent to every other class, the changes become visible to all classes and objects.
Ruby has been described as a multi-paradigm programming language: it allows you to program procedurally (defining functions/variables outside classes makes them part of the root, 'self' Object), with object orientation (everything is an object) or functionally (it has anonymous functions, closures, and continuations; statements all have values, and functions return the last evaluation). It has support for introspection, reflection and meta-programming, as well as support for threads. Ruby features dynamic typing, and supports parametric polymorphism.
According to 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."
Ankita is offline   Reply With Quote


Old 08-19-2006   #2 (permalink)
imehesz
Senior Member
 
imehesz's Avatar
 
Join Date: Jul 2006
Age: 30
Posts: 258
Default Re: Ruby programming language

This is a nicely designed post! I tried to make Ruby more popular here, but nobody was interested back then. I hope this will be much more successful! Go Ruby, GO!
__________________
--
iM
imehesz is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you know any programming language? mann3r Programming 13 10-12-2006 01:17 AM
Programming Language Inventor or Serial Killer? hottweelz All Things General 7 07-22-2006 11:31 PM
Ruby On Rails imehesz Website Design 2 07-20-2006 03:22 AM
I miss Ruby imehesz preCharge Central 0 07-06-2006 03:24 AM
|Ruby Darkness| Carnage Graphics & Multimedia 10 06-20-2006 04:27 PM


footer left
All times are GMT. The time now is 01:53 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

New Cars | Loans | Mortgage Loans | Problem Mortgage | Debt Consolidation

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49