On Mon, Apr 02, 2007 at 22:33:13 +0100, Andy Armstrong wrote: > Yeah, I know you can do it easily with prototype based OO but I thought it > was more than merely proto based OO.
I've seen this referred to as object inheritence, esp when it's done under a classy system, but it's still proto OO... the derivation method is typically something you might see in more purely functional inspired code, but i don't think they have a name for it. proto based OO is really a generalization of many of the other systems, so i doubt there's a more fitting name. I'd rephrase your sentance rephrasing 'merely' with 'a specific case of' =) > How is it like MVC? Or how may they be used interchangeably? > > It's like MVC in the sense that their both views of the same underlying > object. Hmm, I never saw MVC like that... I saw it as separation of concerns with duck typing in the model and view, and ugliness kept contained in the controllers, IMHO not much to do with inheritence/chaining at all, but i guess that could work. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418
pgpD6Y9aJddZ7.pgp
Description: PGP signature