Opis: Software maintenance constitutes a large part of the development costs of software. Code duplications cause many faults resulting in higher maintenance costs. Even when using the best programming practices, duplication is unavoidable. Code generation is an approach for reducing the total code size, removing code duplication, and reducing the consequent maintenance effort. Knowledge of the domain can be stored in a model while the repeatable code can be generated from the model. We propose a software development method where the code generator is built in parallel with the solution, generating only repeatable parts that emerge during the development. We found that the code generator can improve the maintainability of the software by both lowering the size of the code and the number of changes in the code required for the change in specification.Ključne besede: code generation, maintainability, code duplicationObjavljeno v DKUM: 27.05.2015; Ogledov: 1681; Prenosov: 148 Celotno besedilo (1,89 MB)