From: Trans Date: 2005-01-27T11:30:55+09:00 Subject: Re: Self and Ruby Comparisons Csaba, [quote] As a recent post pointed out, there is no module method like uninclude" (I always tought there is one). That's pretty sad, it weakens ruby's oo. Is there a reason for being so, or just there as no reason to make one? [quote.] I don't think it is impossible, but I think there are subtle reasons why it is problematic. But I don't think it shoud be too much of a problem, I think roberts delegation mechanism will suffice for our needs. [quote] 1) Extend ruby's OO kit with prototype-like techniques. 2) Create a class Prototype within which you can play full prototype-based OO. 3) If 2) is done, create "bridges" between conventional ruby world and prototype-based (eg., extend Object with a method which creates a Prototype proxy) [quote.] Sounds good. [quote] Also it would be useful to get some insight where this stuff could be used. Do you have any idea? [quote.] It should prove useful for all problems as is a general purpose programming paridigm, not a specific use case tool. The key to eveluating out success will be to see how ell we can write a general purpse app using only POOP (okay be have to get another acryonym! ;-) and no COOP. [quote] You should give me a sketch what kind of object model do you think of and what capabilities should the citizens of poo country have. [quote.] Okay, hard stuff.... For starters we will need to create a core prototype for every core class. That's simple enough for most things, but we do need to figure out how to handle things like the File class, and actually IO in general --I think we have to modify how they work slightly as prototypes. As I suggested above, I'm not sure we can use module inclusion as the bases of "trait" inheritence, becuase of the uninclude problem. (Or maybe we can, we'll have to give it some more thought.) But delegation might do. I have more details to add, but perhaps we should continue on suby-ruby so as not to clutter ruby-talk with the details? You can sign up here: https://lists.berlios.de/mailman/listinfo/suby-ruby Work for you? Oh and don't worry we can just take our good old time about it. There's no rush, yes? :-) T.