The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  Keep the language simple
Date:  2007-01-16 05:48:09
From:  alexter
Response to: Keep the language simple


Simplicity is not about typing less, it's all about code being easier to understand. The more special cases a language syntax provides the harder it is to understand. Java was once perfect in this regard. Generics and autoboxing spoiled the simplicity; properties will make things even worse.

All this features are useful (though properties is least useful of them), but usefulness is not the only or even the main point. Maintainability is the king of the game. Some people seem to see Java as a language for writing cool apps in three hours, but it’s not. When you develop software to be maintained by many people over many years language verbosity becomes a feature rather than a problem.

P.S. A class of 2500 lines with 50 getters and 50 setters is usually a result of bad design, which has nothing to do with the language.

 Feed java.net RSS Feeds