#rubyonrails - Sat 31 Mar 2007 between 08:37 and 08:43

NY Lost Funds



ReinHyay!
AshimsI'll give you that in ruby there is a class definition that stores class defitions called class.
ReinHAshims: by your definition there are no objects, just representations of objects
it doesn't store anything
that's not how it works
Ashimsthat is
ReinHFoo 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_hin 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.
QED
ReinHben_h: thanks for whipping out the QED :)
actionReinH waits for Ashims to fall into his trap
ReinHwaits 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?
AshimsReinH: 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"
ben_hlol
ReinHAshims: if you're talking about the keyword "class" then no, it is not an object.
But the class it creates is.
ben_hno, we're talking about ruby classes.
hrntif you want to be pedantic, C does not have classes, but it does have objects
tim^heh
ben_hwell structs then
ReinHhrnt: C++ ;)
ben_hyeah you're right, i mean data structures generally.
oh man, this is so good
actionben_h is listening to 05Reverie/Harlequin Forest by 03Opeth from 10Ghost Reveries
ben_his 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_hhttp://hoskings.net/images/hd595.jpg <-- on these
actionAshims is listening ro Track 03 byt In Flames from Clayman
Ashimsis listening ro Track 03 byt In Flames from Clayman
tim^ben_h, i have those :D
ben_hawesome
nice pair of cans aren't they :)
tim^yes++ :)
ReinHYay for np's :)
BigFischAshims: I love In Flames :)

Page: 2 9 16 23 30 37 44 51 58 65 72 79 

IrcArchive

NY Lost Funds