Does code-generation increase the code quality?

Posted by platzhirsch on Programmers See other posts from Programmers or by platzhirsch
Published on 2011-04-25T19:05:06Z Indexed on 2012/03/30 17:42 UTC
Read the original article Hit count: 632

Arguing for code-generation I am looking for some reasons, if howsoever, code generation increases the code quality, respectively is in favor for quality insurance. To clarify what I mean with code-generation I can talk only about a project of mine:

We use XML files to describe different relationships, in fact our database schema. These XML files are used to generate our ORM framework and HTML forms which can be used to add, delete and modify entities.

To my mind, it increases the quality, as the human error is reduced. If someone was implemented wrong, it is broken in the model. This is good, because the error might appear a lot faster, as more generated code is broken, too.

© Programmers or respective owner

Related posts about development-process

Related posts about code-quality