OSLO Video Comments: The Language (Building Domain Models in M)
Here are some thoughts on the
The Language (Building Domain Models in M) talk. Not much surprise here...
M uses structural typing. Cool.
We've had a lot of discussions about the right metaphor for modeling and using DSLs. Is it more like Rational Rose, or more like JDT? I think it is more like JDT. The OSLO guys seem to see it the same way. ".m files are like .cs files, .mx files are like DLLs, so you can run them or /r them".
you can have data without a schema for it. Not sure why this is very useful, but it is certainly cool.
The definition of types and instances is all completely interactive and interpreted, at least as long as you don't "install" things into the database.
Any data item can be labeled and then referenced. Sounds good.
As part of the schema definition you can also define views, which are basically subsets of models where the elements satisfy a set of constraints. YOu can use full LINQ queries. Nice!
The MScript stuff they showed is the first step towards model transformations. they can create new instances, and query data...
Don is actually a really good presenter! Never saw him live...