|Ashims||I'll give you that in ruby there is a class definition that stores class defitions called class.|
|ReinH||Ashims: by your definition there are no objects, just representations of objects|
it doesn't store anything
that's not how it works
|ReinH||Foo doesn't store its instances|
Ashims: so wriggle your way out of this one if you can.
class Foo... foo = Foo.new
is foo an object?
|ben_h||in C, a class is blueprints. In ruby, a class is a machine that can be opened and changed at any time.|
and machines are objects.
|ReinH||ben_h: thanks for whipping out the QED :)|
|action||ReinH waits for Ashims to fall into his trap|
|ReinH||waits for Ashims to fall into his trap|
I've cunningly laid branches and such over it
but don't tell him
It's spikey at the bottom too :)
Wait, he can't hear me, can he?
|Ashims||ReinH: no, by my defition a class is the code that forms the strucuture of a object, once an class is instanciated, it becomes an OBJECT OF THAT CLASS. this is what I'm talking about... I understand (now) that ruby has circular way of doing this which makes plenty of sense, but what you're talking about is compeltely different to what a "class" is, you're talking about literally rubys keword (and the code behind) "Class"|
|ReinH||Ashims: if you're talking about the keyword "class" then no, it is not an object.|
But the class it creates is.
|ben_h||no, we're talking about ruby classes.|
|hrnt||if you want to be pedantic, C does not have classes, but it does have objects|
|ben_h||well structs then|
|ReinH||hrnt: C++ ;)|
|ben_h||yeah you're right, i mean data structures generally.|
oh man, this is so good
|action||ben_h is listening to 05Reverie/Harlequin Forest by 03Opeth from 10Ghost Reveries|
|ben_h||is listening to 05Reverie/Harlequin Forest by 03Opeth from 10Ghost Reveries|
|Ashims||*rolls eyes* so you're saying when you create an object in ruby, if you change the class its instanciated from it will change its structure (even then, its still a term of convenience, that is... a further down the heirachy implementation of the basic ideas of class)|
|ben_h||http://hoskings.net/images/hd595.jpg <-- on these|
|action||Ashims is listening ro Track 03 byt In Flames from Clayman|
|Ashims||is listening ro Track 03 byt In Flames from Clayman|
|tim^||ben_h, i have those :D|
nice pair of cans aren't they :)
|ReinH||Yay for np's :)|
|BigFisch||Ashims: I love In Flames :)|