Managing highly repetitive code and documentation in Java

后端 未结 9 660
南旧
南旧 2020-11-30 22:53

Highly repetitive code is generally a bad thing, and there are design patterns that can help minimize this. However, sometimes it\'s simply inevitable due to the constraints

9条回答
  •  既然无缘
    2020-11-30 23:20

    You could use a code generator to construct variations of the code using a template. In that case, the java source is a product of the generator and the real code is the template.

提交回复
热议问题