[Grace-core] Encoding classes

James Noble kjx at ecs.vuw.ac.nz
Sun Jul 17 03:29:32 PDT 2011


> We could still write
> 	C.new(...)
> as before, though I'm not sure we would be able to treat C as an object as we did before.  That is, the semantics of classname.id would be different from object.id.


Right - so to me this is the first question: do we want to keep this part of the design, or not?

I can see advantages to just writing C(a,b) - notably the "destructor" makes sense with the same syntax.
but I'm not otherwise convinced they outweigh the generality of everything being an object.


> P.S.  I'm giving a talk on Grace to an education group (the Liberal Arts CS Consortium) next Friday.  I'll be interested to see how they react to the language.

Ok - sounds good - albeit slightly confused as to which Friday, or where your talk is.
When do you get to Lancaster?

J


More information about the Grace-core mailing list