While examining some other code I’ve encountered a bunch of stuff which makes me wonder what they’re teaching people nowadays in school. Rather than silently complain about the problem to my co-workers, of course I decided instead to use this forum to rant. Today’s anti-pattern: improper inheritance. The problem: A class ‘ClassA’ is defined which [...]
Filed under: Commentary, Java | Posted on July 30th, 2007 by William Woody | No Comments »
So I’m looking at someone else’s code, and they make extensive use of a particular jar file. Time to poke around and figure out what that jar file is. To paraphrase the info page, which should tell me what the library provides: FooLib is an enterprise-class open source library to help deploy and integrate services [...]
Filed under: Commentary, Java | Posted on July 24th, 2007 by William Woody | No Comments »
Java’s Exceptions are an extremely powerful way to figure out what went wrong. Too bad many Java programmers go out of their way to hide what went wrong from their fellow developers. If you’ve got to recast an exception: try { doThing(); } catch (RandomLocalException e) { throw new OuterException(“Some mysterious message”); } At least [...]
Filed under: Java | Posted on July 23rd, 2007 by William Woody | No Comments »
“Why would you want to work on user interface? I mean, it doesn’t take a rocket scientist to build a user interface.” Which is why most user interfaces suck: because while in fact it doesn’t take a rocket scientist to build a user interface, it does take one to build a good user interface. Meanwhile, [...]
Filed under: Commentary | Posted on July 18th, 2007 by William Woody | No Comments »
Web sites are like iceburgs: what you see only represents 10% of the actual work. And the majority of the work looks more like internal business application development in an IT department for a non-computer software related company–which it is: the 90% includes things like fulfillment, customer service, complaint tracking and auditing. Which is why [...]
Filed under: Commentary | Posted on July 17th, 2007 by William Woody | No Comments »
So I’m looking through some source code and I come across an unsatisfied reference to a library. The import package name starts with ‘org.lwes’. Custom and convention says that when you name a package in Java, you use your domain name to your company or organization, but reverse it: thus, stuff I write for chaosinmotion.com [...]
Filed under: Commentary, Java | Posted on July 13th, 2007 by William Woody | No Comments »