Can We Trust the Generated Code? Many developers have had bad
experiences with third party generators because the generator vendor has ?¬?xed the
method of code production. Despite the existence of multiple ways to write code for a
certain behavior, the vendor has chosen just one of them. The vendor??™s chosen way is
not always likely to be ideal for your speci?¬?c contingency, taking into account the target
language generated, programming model used, memory used, and so on. Third-party
generators often don??™t know enough about an organization??™s speci?¬?c requirements to
generate ideal code, so it is not surprising that many have found generated code
unsatisfactory. Because modifying the generated code is usually not a realistic option,
organizations end up throwing away the generated code. The value of the generated
code is then limited to prototyping and requirements gathering.
82 ARCHITECTURE OF DSM
Because of these disappointing experiences, developers sometimes have little
con?¬?dence in generated code. This lack of con?¬?dence, however, changes radically
when developers are asked if they trust generators they have made themselves. Not
having to give up control of the code generation process, from design to output
format, to a faceless tool vendor makes a big difference in the acceptance of
generated code.
Pages:
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179