| Article: |
10 Reasons We Need Java 3.0 | |
| Subject: | a bunch of amateur ideas... | |
| Date: | 2002-08-05 08:20:29 | |
| From: | morbid | |
|
There are many more important areas than need fixing before "all property files become XML" etc:
|
||
Showing messages 1 through 2 of 2.
-
a bunch of amateur ideas...
2002-08-12 11:16:43 jacyg [View]
-
more...
2002-08-05 08:28:33 morbid [View]
- .class custom attributes should be accessible programmatically, via ClassLoader API;
- covariant return types should be supported;
- the language should support a proper notion of const-correctness;



for a better solution. The reason clone() should not be public is that it you may not *want* to externally expose the ability to clone an object, and having a clone() that is protected allows you to accomplish this. My proposed solution still gives this ability when truly wanted, without sacrificing the ability to keep clone() restricted.