Template-based code generation in fact is pretty easy. It very much resembles ordinary mail merge. You create some (sophisticated) template, fill in all the black holes with metadata from the model, and voila! All code is generated automagically. A happy ending. But no, often that is not the case. The pain is always in the [...]


