Archive

Archive for the ‘Coding’ Category

The way

December 16th, 2008 makii Comments off

I just found some interesting slides from the AJAX in Action conference. IMO this is where we need to go:

There are more interesting slides on these topics here at uxebu.com.

Categories: Coding, Technology, Web, Work Tags:

The best Java Exception ever

October 10th, 2008 makii Comments off

A lot of thanks to Code To Joy for the best Java Exception I ever saw: JavaDoc of CME

Categories: Coding, Java, funny Tags:

String literals

June 2nd, 2008 makii Comments off

When coding in Java, I usually try to avoid string literals in the code, especiall when they reference other software components like templates, which are filled with values in arbitrary places throughout the code. This is what I found in a project which we’re going to insource soon:

#-[ user@host ]- ~/work/project/trunk
#-[0]-> find . -type f -name "*.java" -exec grep -r "\"salutation2\"" {} \; | wc -l
24
#-[ host@host ]- ~/work/project/trunk
#-[0]-> kill -9 $SOFTWARE_SERVICE_PROVIDER

No comment.

Categories: Coding, Java Tags: ,