Yeah, that's a fair point, it is a bit more documenting than it probably
could be... then again, all modern IDEs will do it for you, right? And
I even have my UltraEdit macros to do it. Still, fair point.
Having not looked into it very much, does annotations in 1.5 help at all
in this regard I wonder?
Frank
Michael Jouravlev wrote:
On 7/11/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
A bean is self-documenting in that you can immediately tell what its
attributes are and what types they are. I'm not even talking about
generating javadoc from the source either, but that's certainly a very
nice by-product.
If I could have a property in Delphi or C# style... Or if I could at
least write something like that:
/**
* Flag that demo mode is on
*/
private boolean isDemo;
public boolean getIsDemo() { ... }
public setIsDemo(boolean isDemo) { ... }
... and my methods *would be commented in javadoc* too, it would be
much better than current approach with lots of lines and comments for
each getter/setter. Three properties commented in current approved
Java style, and you already lost in the code. This sucks.
Michael.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]