Generics and autoboxing spoiled the simplicity; properties will make things even worse.
Thats the strange part abouts this prototype thing. I feel the exact opposite. When I think of simplicitity, I mostly think of easy-to-use API's. Consider Java's date/calendar API and .NET's DateTime/Calendar API.
I really can't stress this enough: I hate Java's date/calendar API - I love .NET DateTime/Calendar API.
Reason? .NET's API is so easy to use - Java's is not.
I believe that prototypes can help us make more easy-to-use API's, which Java really need. It will often decrease the number of getters and setters by half and IDE's will most likely begin to visualize prototypes in "intellisense"-lists using other icons, making it even more simple to get a quick overview of what a developer can change on an object. |