Are code generators bad?

后端 未结 26 1642
耶瑟儿~
耶瑟儿~ 2021-02-07 07:44

I use MyGeneration along with nHibernate to create the basic POCO objects and XML mapping files. I have heard some people say they think code generators are not a good idea. Wha

26条回答
  •  隐瞒了意图╮
    2021-02-07 08:21

    My stance is that code generators are not bad, but MANY uses of them are.

    If you are using a code generator for time savings that writes good code, then great, but often times it is not optimized, or adds a lot of overhead, in those cases I think it is bad.

提交回复
热议问题