Scott Hanselman has a post about a user who doesn’t get what is cool about Ruby.
In the post you can find the below example that compares Java and Ruby in terms of code readability.
The Java code:
new Date(new Date().getTime() - 20 * 60 * 1000)
The Ruby code:
20.minutes.ago
The article was interesting but what really caught my attention [...]
The current stable version (2.2) of the maven-surefire-plugin does not support JUnit 4. So Maven, out of the box, does not work with JUnit 4. Luckily if we want to use JUnit 4 in our Maven based projects we have two choices. The first is to use JUnit4TestAdapter as illustrated in this post. The second [...]
Panos and Paris, the JHUG’s JUG leaders, are now Java Champions.
Congrats guys, keep it up!
¶
Posted 03 April 2007
§
JHUG § Java
‡
°
For me, this is the best April fool’s joke for this year.
¶
Posted 01 April 2007
§
Java § OOP
‡
°
Seam provides a number of features to help programmers with the tedious but necessary logging. One of them is the @Logger annotation that is used to inject a Seam Log instance into a Seam component. For example instead of writing:
private Log log = LogFactory.getLog(MyClass.class);
you can write:
@Logger private Log log;
and Seam will inject an appropriate logger. [...]