Category Archives: coding

subversion hiccup

I’ve just committed a bunch of changes to Tefkat without a log message! I’m really annoyed about that partly because I spent a good deal of time determining exactly what all the changes did, and partly because now that I’ve made this mistake (I swear that Eclipse never prompted me for the message) I [...]

Associations as first-class citizens in OO languages

The other day I was wondering about why we even need things like MOF/EMF (ignoring the cross-language story). That is, why don’t modern OO languages include associations (and their containment/multiplicity constraints) as first-class concepts.
Today I browsed over to this article by Dave Thomas (of smalltalk fame), a sometime DSTC visitor, and found this sentence:
Closely [...]

Tefkat lives again

No builds available yet, but you can grab the code (LGPLed) from subversion if you’re really keen:
svn co https://svn.sourceforge.net/svnroot/tefkat/trunk tefkat
Note that I expect there will be a complete package rename (to replace the vestigal com.dstc) before the first release.

Java Posse on the case…

Approximately 40min into podcast #034 the Java Posse address my question about equals() between Java Long and Int objects.
Can’t wait until they put the question to Joshua Bloch.

Scoping and namespaces wrt MDA and QVT

This talk reminds me that I wonder if a good QVT language needs to provide special-purpose support for handling namespaces, scopes, and name resolution.
Certainly AntiAntiYacc will need it!
I should really look up Bill Waite’s old compiler construction kit from the late 80s…seems it’s still alive on SourceForge: http://eli-project.sourceforge.net

Naked Objects and Workflow

Dave Thomas again, this time mentioning Naked Objects, says (in http://pragprog.com/pragdave/Practices/MechPolicy.rdoc) stuff that exactly echos the kind of thinking I had in mind wrt flexible workflows in my APNIC document.

When I first started thinking about this, I was reminded of the audience discussions that sometimes erupt when I talk about Naked Objects. A Naked Objects [...]

Domain Specific Languages

Dave Thomas talks about code-generation/DSLs here: http://www.codegeneration.net/tiki-read_article.php?articleId=9.
This dove-tails with a bunch of recent thoughts regarding QVT vs templating and the whole cumbersome pain of defining Models, instantiating Instances, and then working with them.
I suspect this would really be a whole bunch easier if the standard EMF editor allowed “import” of other Models into the ResourceSet, [...]