PROGRAMMING
How to make the machine write the boring code
How to make the machine write the boring code
Have you ever had to write code for a lot of highly similar things, differing only in a few details? Have you ever wondered - while copy pasting code from one class to another, and another fifty more - why are you doing this repetitive, error prone and boring task instead of a machine? Machines are just fine doing this kind of work, why aren’t they doing it? In this article we will talk about how one can write a program which generates code based on an xml input file and flexible templates.