Discussion: Why metaclasses?
Afficher un message
Vieux 21/06/2008, 20h29   #11
James Britt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Why metaclasses?

Marc Heiler wrote:
>> I don't know why exactly --only Matz knows-- but IMO the choice is
>> somewhat arbitrary because whichever is chosen, class or module, you
>> have to take away some of its typical behaviors to have it be
>> singletonsomething.

>
> At times I wanted a language that does away with the distinction between
> class and module and objects, and rather focuses on objects, and
> behaviour only, with an elegant syntax like ruby has (but less complex
> as a whole)


I wonder if Io fits the bill?


--
James Britt

www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff

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