- TalkBack 1 of 4:
- Next »
- Thread View
- Flat View
- Tweak any generated ASM lately?
-
I really don't get the attitude of people who insist that generated code must be "tweakable".
Think about a C++ compiler (sorry to bring that up) that generates ASM code. Yes, it's "code", but how many people edit it?
I think the "trick" here is to get people to realize that generated Java code from a visual builder is no different than generated ASM code from a C++ compiler. Neither should be expected to be tweakable.
Of course this means that visual builders must have the appropriate ways to hook in "extra" behavior. (That's where mine was going). Something like a combo of template method with strategies that can be plugged in where requested, but the strategy calls don't exist unless you've used a hook in the builder.
Of course a very simple solution would be to
* generate Java code
* compile it to bytecode
* delete the java code
Making it obvious that there is no intent of letting you edit.
I hate "round-tripping" for the reasons you state, and my visual builder wasn't going to support it.
Code generation is your friend, but it should be a one-way process.
- Scott - Posted by: javadude_z Posted on: 03/05/06 You are currently: a Guest | Members login | Terms of Use
|
|
|
|
|
|
|
|
What do you think?
SponsoredWhite Papers, Webcasts, and Downloads
- The Impact of Virtualization Software on Operating Environments VMware Today's use of virtualization technology allows IT professionals to ... Download Now
- Can your business work smarter? IBM Today, productivity is at a premium and IT budgets are at a minimum. Work ... Download Now
- Five Steps to Determine When to Virtualize YourServers VMware Server virtualization isn't just for big companies. Entry-level ... Download Now
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
-
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.

- Learn more about the free, six-month trial offer>>
- Save time with automated shipping solutions
-
The Business Essentials Guide provides you useful tools and templates to help grow your business and save you time with automated shipping solutions.
- Visit the UPS Business Essentials Guide
- The best support in the Linux business
-
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.

- Learn more >>
SmartPlanet
- Thought-provoking progressive ideas on diverse topics that intersect with technology, business, and life, and matter to the world at large. Visit SmartPlanet
- More from IBM
- How to Drive Better Business Outcomes with Exceptional Web Experiences Download the eBook
- Driving Business Agility through SOA Connectivity & Integration Read the White Paper from IBM
- Linking Decisions and Information for Organizational Performance Read the Tom Davenport study







