| Article: |
Readable Java 1.5 | |
| Subject: | Cholesterol - WTF? - I want Smalltalk | |
| Date: | 2003-10-06 15:48:25 | |
| From: | anonymous2 | |
|
Response to: Cholesterol - WTF? - I want Smalltalk
|
||
| Yeah, that must be why languages like C++ and Java are on the way out and Smalltalk is making such a strong comeback. Sheesh! | ||
Showing messages 1 through 2 of 2.
-
Cholesterol - WTF? - I want Smalltalk
2003-10-16 08:58:25 anonymous2 [View]
He definitely has a point -- have you tried out Ruby lately? If you do, you will never want to go back to the Java or C++ world. -
Cholesterol - WTF? - I want Smalltalk
2003-12-20 06:43:33 anonymous2 [View]
You will if you want your code to run fast.
Really, folks, the issue is about the Java 1.5
syntax proposal -- all this stuff about what
your favorite language is or what else you think
should be done to Java is juvenile, egocentric,
and rude to the author. There are a thousand
forums where you can post your thoughts on
those subjects.
The variance syntax looks clearly superior.
The type syntax looks nice, as long as the
parser can handle it, but I doubt that you
could ever convince Sun to switch from the
angle bracket syntax used in C++, Pizza, etc.
The eachof syntax is rather problematic,
looking like an operator rather than a control
structure. It makes plenty of sense in a
language that has full-on iterators, like CLU or
Ruby, but for Java it's out of place. Which to
me is an argument for leaving the foreach
operator out of Java 1.5 altogether, and coming
up with a proposal for a proper iterator syntax.
The foreach operator is non-orthogonal wart that
violates basic language design principles.


