[Grace-core] How to Program in Grace
James Noble
kjx at ecs.vuw.ac.nz
Wed Nov 21 16:18:03 PST 2012
> It seems to me that we know all of this stuff works fine for classes (either written as classes or object constructors)
Right - the current design works for classes, or "class like" objects. The catch is those singleton objects.
I had some idea flowing around in my head - an assymetric "one-and-a-half" solution like Java,
distinguishing between classes that are "extended" - and traits or mixins that are "included" or something
- classes maintain identity but traits/mixins don't - but the complexity seems to overwhelm any benefits
J
More information about the Grace-core
mailing list