Article:
  Readable Java 1.5
Subject:   Cholesterol - WTF? - I want Smalltalk
Date:   2003-10-16 08:58:25
From:   anonymous2
Response to: Cholesterol - WTF? - I want Smalltalk

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.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • 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.