[Grace-core] Lancaster Workshop update #1 - Minor changes

James Noble kjx at ecs.vuw.ac.nz
Sun Jul 31 09:09:45 PDT 2011


Kim:

> a factory object is more complex than just an object with methods returning new objects. I'd be more comfortable calling this a "class" object (as it will almost certainly have to have other stuff necessary to support inheritance) and

Ok so I now realise what I'm missing: in my categorisation of the seven uses of dragon's
blood (OK, 5 roles of class-like entities) I missed one out: there are 6 - and the
"use as a superclass" is the sixth.  So right - as well as something creating objects,
we also need something else (not necessarily something that really exists at 
the base level at runtime) but something representing the "class declaration"
that is used for inheritance.

> allow one to call any object with methods returning new objects (exclusively?) a factory object (though I'd probably be even happier not using the term factory object at all and just discussing factory methods (which could occur in any object). 


well yes, that is closer to the standard usage!

James



More information about the Grace-core mailing list