Discussion: Why metaclasses?
Afficher un message
Vieux 20/06/2008, 11h04   #8
Robert Klemme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Why metaclasses?

2008/6/20 Sebastian Hungerecker <sepp2k@googlemail.com>:
> Robert Klemme wrote:
>> Your quote: "Given that you cannot instantiate them [...]".

>
> What's wrong with that? You can't.


Ah, we're running in that terminology issue again: for me Class is a
(or rather "the") metaclass (because it is the class of a class) but
it seems you and probably James as well mean what I am used to call
"singleton class".

So then, yes, those cannot be instantiated.

Cheers

robert

--
use.inject do |as, often| as.you_can - without end

  Réponse avec citation
 
Page generated in 0,04278 seconds with 9 queries