Bug 49927 - Generated code may be more readable
Summary: Generated code may be more readable
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-13 12:41 EST by Andrea Aime CLA
Modified: 2011-06-13 11:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Aime CLA 2004-01-13 12:41:15 EST
What I mean is that I find the code generated by Netbeans and Jigloo 
more readable than the one built by VE. Problems:
* lots of methods with lazy instantiation: why not use just one method
  separated with comments for gui building, this would prevent lazy
  creation
* event handlers are generated inside the gui building methods. I find
  the Netbeans/Jigloo way of creating the anonymous inner class in the
  gui building wich delegates to a private method outside the inner
  class, since it allows to group related methods and it's a better
  place to write lengtly code (inner classes are not easy to read alone,
  stick into a i.c. method 20 lines of code and see you source become
  a big mess...)