User Code in Generated Methods
But they have those nice comment blocks for user-defined code...
I know it's tempting to add code in the generated methods, but try to avoid it. Why? Here's a few reasons...
- The poor maintenance programmer has enough on his hands trying to figure out your code without needing to fish through the generated methods as well.
- You might forget the code is there a few months down the line
- The design is less apparent -- see Let VisualAge Document your Design