« November 2005 | Main | April 2006 »

January 2006 Archives

January 3, 2006

Equality for Hibernate

There's a common idiom in Java for writing the equals() method. Straight from the classic book, "Effective Java", it looks like this:


public boolean equals(Object obj) {
  if (this == obj) { return true; }
  if (obj instanceof ThisClass == false) { return false; }
  ThisClass other = (ThisClass) obj;
  return this.importantField1.equals(other.importantField1) && this.importantField2.equals(other.importantField2);
}

When using Hibernate, particularly with lazy proxy classes, it's important that you stick to this idiom!

Continue reading "Equality for Hibernate" »

January 4, 2006

A recursive descent into pointless debate

Joel's busy complaining that teaching Java in comp-sci courses makes life too easy for people, because they don't have to deal with pointers and recursion. News flash for you, Joel: the times have changed, and new tools are available.

Continue reading "A recursive descent into pointless debate" »

January 5, 2006

An experiment: running with FeedBurner

Purely as an experiment, I'm using FeedBurner to keep track of the site usage.

You don't have to change your RSS feed: I'm redirecting the old ones through to FeedBurner. As a matter of fact, I suggest you don't change your feed - that way, if I drop FeedBurner, you will automatically switch back to the old direct link.

In addition: at this time, it's only the main feed that's been moved to FeedBurner. The category archives, which have a fairly large following of their own, are not going through FeedBurner - yet. :)

Implicit interfaces

Martin Fowler just wrote an entry on implicit interfaces. This actually would be very useful, but I think I can see why language designers wouldn't adopt it (at least, not outright).

Continue reading "Implicit interfaces" »

January 10, 2006

Ze Frank at PopTech

Catching up on my podcasts this week, I was listening to a presentation by Ze Frank at PopTech 05 on the way home today.. Having listened to it, I'm convinced it should have come with a health warning: "Warning: Listening to this presentation may cause uncontrollable laughter. Do not drive or operate heavy equipment while listening to this presentation"

January 19, 2006

Has Apple reached price parity for their laptops?

I'm considering buying one of those thar MacBook Pros, but at a base price of AU$3199, it's a little pricy. Now, Apple has a long-standing reputation of charging premium prices, but seeing as how the MacBook is Intel-based, it should be possible to do some good price comparison.

Dell has released the new Inspiron 9400, which is also based on the Intel Core Duo chip. So, we can do a comparison that is better than Apples to Oranges on this.

Continue reading "Has Apple reached price parity for their laptops?" »

About January 2006

This page contains all entries posted to Software is too expensive to build cheaply... in January 2006. They are listed from oldest to newest.

November 2005 is the previous archive.

April 2006 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.35