rizzix wrote:
i think the most exciting feature are the variable args, the enhanced for loop and auto-boxing.
It's all exciting.
You left off generics, which mean no casting... or exceptions related to that. The only thing I'd like from Nice (a language that compiles to JVM bytecode) is the functional side of things, like the ability to create anonymous functions/methods, and and the ability to simplify function syntax.
code: |
int add(int a, int b) = a + b; |
Of course, then I'd also like the ability to simplify parameters...
code: |
-- in Eiffel
feature { ANY }
add_four_integers(a, b, c, d : INTEGER): INTEGER is
do
Result := a + b + c + d
end |