> Programming Languages > Ruby
Various Topics Home | Disclaimer | Report Adult Posts

Various Topics on Ruby



Ruby - "Re: A question about Cl*** and Object" in Programming Languages


Old 06-22-2004   #1
..h.. ..sa.. ..ssap..
 
Default Re: A question about Cl*** and Object

> Object.cl*** is Cl***.
> Object is type of Cl***.


> I'm still confused with cl*** and object and metacl***...


Try to think about it this way:
Object is a concept ("a thing")
Cl*** is a concept ("a representation in ruby of realworld concepts")

In ruby, we use objects (things) of kind 'Cl***' to represent the
concepts. Thus the thingy 'Object' is of kind 'Cl***' and is used to
represent the concept of object. The thingy 'Cl***' is again of type
'Cl***' and is used to represent the ruby concept of a "concept that
represents the concept of 'concept'" (This makes it a meta-concept).

Thus in Ruby "Object" and "Cl***" are concept thingies, represented as
objects (thingies) of kind "Cl***". As for the number of methods, the
cl***-concept is a bit more specific than the generic "thingy" concept,
and therefore has an extra method.

I have probably confused you more. See the 'ruby object model"
presentation on "WhyRuby.rubyforge.org".

HTH,
***aph





 
Old 06-22-2004   #2
..m ..ngsh.. ....
 
Default Re: A question about Cl*** and Object

With your help, my brain starts building up concepts...
Thank you.

For those who have same problems as mine, read the following link.
http://rubyforge.org/docman/view.php...sPine_UROM.ppt
It's great.

kong

"Mehr, ***aph (***aph)" <***aph@avaya.com> wrote in message
news:338366A6D2E2CA4C9DAEAE652E12A1DE166E16@au3010 avexu1.global.avaya.com...
> > Object.cl*** is Cl***.
> > Object is type of Cl***.

>
> > I'm still confused with cl*** and object and metacl***...

>
> Try to think about it this way:
> Object is a concept ("a thing")
> Cl*** is a concept ("a representation in ruby of realworld concepts")
>
> In ruby, we use objects (things) of kind 'Cl***' to represent the
> concepts. Thus the thingy 'Object' is of kind 'Cl***' and is used to
> represent the concept of object. The thingy 'Cl***' is again of type
> 'Cl***' and is used to represent the ruby concept of a "concept that
> represents the concept of 'concept'" (This makes it a meta-concept).
>
> Thus in Ruby "Object" and "Cl***" are concept thingies, represented as
> objects (thingies) of kind "Cl***". As for the number of methods, the
> cl***-concept is a bit more specific than the generic "thingy" concept,
> and therefore has an extra method.
>
> I have probably confused you more. See the 'ruby object model"
> presentation on "WhyRuby.rubyforge.org".
>
> HTH,
> ***aph
>
>
>
>
>



 
Old 06-22-2004   #3
..r.. ....
 
Default Re: A question about Cl*** and Object

On Tue, 22 Jun 2004 14:08:13 +0900, Sam Sungshik Kong wrote:
> With your help, my brain starts building up concepts... Thank you.
>
> For those who have same problems as mine, read the following link.
> http://rubyforge.org/docman/view.php...sPine_UROM.ppt It's
> great.


Well, thanks!



Chris




 

Thread Tools
Display Modes





Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0