Re: the Java Lang will support Properties in Futuere?
- From: Mark Space <markspace@xxxxxxxxxxxxx>
- Date: Sat, 15 Nov 2008 13:34:12 -0800
mttc wrote:
the answer is simple. it's true! the get and set it's good. The
problem is when we use it:
i=s.getX();
s.setX(i);
I see no problem with this.
why Java (after so many years) not able to give us simple code (as
Delphi):
i=s.X;
s.X=i;
I don't like Delphi.
There have many debate and page on the Internet. I say to java Leaders
do what developer ask!
Yes, do what developers ask, don't change it. Leave the setters and getter alone.
And why the Netbean not support get & set when the list of members
pop, why we got the getXX separate then setXX for the Same properties?
Because there are read-only (just getX) and write-only (just setX) properties?
Sorry but I don't see any call for emulating Delphi. I'm afraid you are a voice crying in the wilderness alone.
.
- Follow-Ups:
- References:
- Prev by Date: the Java Lang will support Properties in Futuere?
- Next by Date: number of connection in DataSource
- Previous by thread: the Java Lang will support Properties in Futuere?
- Next by thread: Re: the Java Lang will support Properties in Futuere?
- Index(es):
Relevant Pages
|