On Tue, Jun 15, 2010 at 08:34, Kevin Wright <[email protected]> wrote:
>  "the same way that a compiler generates bytecode"
> That'll also be an example of code generation... As is the way that the JIT
> generates opcodes

I think the byte code generation is code generation on another level -
not really the level, the thread is about, I would say.

Code generation on the higher level (I mean code generated in the
project where you are editing the source files also) is a positive
thing only, if done in a limited way, such as:

- generating of event handler method header lines
- single methods generating the GUI

pieces you don't touch later manually.

But as soon as simplicity fades away and you need to hack and
manipulate generated code, it becomes crappy.

-- 
Martin Wildam

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to