Mike Perham

On Ruby, software and the Internet

Entries Tagged as 'Java'

Syntactic Sugar

April 25th, 2008 · 2 Comments

There’s only one thing I miss in Java that Ruby doesn’t have:

String[] list = {
“Foo”,
“Bar”,
“Blaz”,
}

Note the last trailing comma. This is a syntax error in Ruby but legal in Java. If you add another element later, you don’t need to remember to add a comma to the previous entry. Minor, sure, but [...]

[Read more →]

Tags: Java · Ruby

Java is becoming the new Cobol

December 30th, 2007 · No Comments

This is exactly the conclusion I came to 2 years ago after playing with Ruby two years ago.  Java was a good leap forward from C but Ruby is the next leap forward IMO now that it has mainstream momentum.
Java is becoming the new Cobol

[Read more →]

Tags: Java · Ruby