yeah, "pseudo" development platforms could make use of code generation. imagine a runtime engine with a separate designer that allows you to visually create new runtime objects, set properties, wire up relationships, ect, then the code generator implements any number of core engine interfaces and dumps out the runtime models... although i'm not sure if T4 templates can be used outside of VS.