|
|
1:代码生成器万能论。
In the current level of software technology, code generator can really replace large part of the manual coding work, but the basic code generator now still in the code-level, has not yet risen to the field level. Only generator up to the field level, to bid farewell to the basic manual coding. Now where in the code level, there is still a lot of manual code needs to prepare. In fact, some of the strength of large companies have begun work in this area, compared SAP, users do not have the basic code will be able to generate a need for their ERP system, Microsoft's CRM, WorkFlow also rose to the field level. Some people may think that the code generator can not be fully achieve its own aims and refused to use, in fact this is a misunderstanding. The world can say that there is no 100 percent completely satisfied with their own things, when we still need to use it. Here are the face of an adjustment, the adjustment process. Code generator as well.
2: The code generator because of quality problems, the code generated can not meet my needs, I need to amend or too many places, not very good considering changes and maintenance.
We recognize that the present code generator generate the overall level is not high, code generator wide range of products not truly outstanding, which is the actual impact of the use of code generator an important reason why. But our information, there will be more good code generator there. The answer to this question should be chosen and prepared to meet their practical needs of the code generator, use the code generator is not really provide the working efficiency and improve the quality of the software.
3: code generator doing is some duplication of work.
I projects through the abstract to eliminate some duplication of projects. It should be said that those who say that the technical capacity of the software is relatively strong. Products is required at a relatively high level of abstraction boost to consider the issue, the development system. But not necessarily the level of abstraction higher the better, because the abstract would eliminate the differences in personality, the abstract can not completely eliminate the duplication of Products in the part We can all abstract entities object into an abstract entity class, so do not have to write attributes for each category, in a relatively high level of the properties to eliminate duplication of logic. But to do so, OK, I own the information we have recognized.
4: hand-written code that is the real development of software, but refused to use the code generator.
In fact, the ultimate goal of Products is to meet the user's business needs. Use what tools, what are technical means. As a means to the wrong target. 5: Using a code generator, programmers may be unemployed, I can²»¸Ésuch Shashi. This is not a typical commercial awareness of a performance, man loyalty. Such a person best suited to run the political arena.
6: I have enough developers and development funds to support the manual prepared by the code.
Because the old model of the development impact of the development of enterprises in the development plan, according to the manual is often way to plan. If into the use of generators, this part of staff and funding arrangements for the poor instead. To enterprises, the profits of enterprises should be to maximize the most fundamental goal, if the plans do not meet this objective, it should be no doubt that the change over. The development team, enterprises should take certain incentive measures to encourage the use of code generator. Do business with the staff of a win-win situation.
7: I think the use of code generator at risk.
The use of any new technology, will bring about certain risks. However, we can not because of the risk of a non-use of the grounds, because if never use the new technology, there would not have this risk. However, the greater the risk of another have taken place, enterprise customers and was eliminated by the community. Therefore, we need to code generator by the potential risk assessment. Code generation is actually a generator used to replace repeat, boring manual coding process itself does not use any special techniques, only a simple substitution process, in theory, should risk is very small. In fact, the current code generator intelligent, and can be configured and has been very high, basically want to generate their own code, part of the code generator to also provide commercial production processes, better meet their specific needs.
8: I do not want to use the programmers code generator.
We can analyze programmers do not want to use code generator reasons: 1: the quality of the code generated too bad to see do not know, bug too. This is the wrong code generator reasons. 2: the code generated does not support changing needs and design. This is the architecture of the improper use of the issue. Use code generator, and the use of code generation in line with the excellent architecture and technology, such as more stringent definition of the type and function, use the Partial mechanism. 3: code generator bound by the code of my thinking. In fact this is a misunderstanding. Code generator created a style all of the 1000 production code, I wrote code instead of a fine alternative. The same style of software maintenance is an important characteristic easily.
9: I just need to fine code, code generator failed.
We do not deny that some really good programmers can write very sophisticated code, only by the code generator can not be done. This is actually a manifestation of complex code, as a means to the wrong target, or chivalrous understanding of the software quality issues. 10: code generator I do not have too much of the code. This is a technical issue, object-oriented technology and components will not necessarily lead may have been using the code, but the object and function is the basic component of the comprehensive
|