M
mttc
As other criticism on Java, Properties is also big missing. Many say
what problem with get or set?
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);
why Java (after so many years) not able to give us simple code (as
Delphi):
i=s.X;
s.X=i;
There have many debate and page on the Internet. I say to java Leaders
do what developer ask!
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?
let's Change the list to:
property X
property Y
instead of:
get X
get..
get..
get..
...
set X
...
I see the Bean-Properties Project, it's seem very poor solution. the
correct way is do it in the lang itself. but Java Guys not going to
confess on this big mistake. therefor we continue wasting time to
search right set or get from long members list. or typing extra dots
and parenthesis (or yield.. ).
what problem with get or set?
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);
why Java (after so many years) not able to give us simple code (as
Delphi):
i=s.X;
s.X=i;
There have many debate and page on the Internet. I say to java Leaders
do what developer ask!
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?
let's Change the list to:
property X
property Y
instead of:
get X
get..
get..
get..
...
set X
...
I see the Bean-Properties Project, it's seem very poor solution. the
correct way is do it in the lang itself. but Java Guys not going to
confess on this big mistake. therefor we continue wasting time to
search right set or get from long members list. or typing extra dots
and parenthesis (or yield.. ).