Thursday, May 22nd, 2008 by Enrico
You might remember my post about JSR-666 from April, where I asked whether the funny proposals to extend Java (for example, by adding a yoda keyword) were just a joke or a thinly veiled statement about the dangers of trying to shoehorn features into Java. So imagine my surprise when I saw another horrific [...]
Posted in Java/J2EE | No Comments »
Tagged: Java/J2EE, Programming
Tuesday, April 15th, 2008 by Enrico
Michael and I recently read this article on a relatively new project at Sun: “a royalty-free and open video codec and media system”.
There is much debate among members of the W3C about what codec should be the standard for embedded video on the Internet. The W3C has insisted that any video codec standard for [...]
Posted in Java/J2EE | No Comments »
Tagged: Java/J2EE, Open Source, Sun
Monday, March 31st, 2008 by Enrico
We just recently caught wind of some proposed “extensions” to Java under JSR-666. One of them in particular had us all laughing and that was the yoda keyword. Here’s example code showing how this new keyword would be used:
yoda (UnsupportedEncodingException) {
String s = new String(byteArray, “UTF-8″);
}
I didn’t quite get [...]
Posted in Java/J2EE | 2 Comments »
Tagged: April Fools, Java/J2EE, Programming, Sun
Friday, February 22nd, 2008 by Enrico
We recently worked on a short J2EE project using the Spring MVC framework. One of the models was particularly complicated, with multi-valued attributes that needed to be added, edited, and removed within the one form. The controller logic was starting to look like a complete mess of if-else statements as we tried to [...]
Posted in Java/J2EE | No Comments »
Tagged: Java/J2EE, Spring, Sun