Weblog

April 10, 2003

Huzzah

Apparently huzzah makes a good variable name for some people. While grading, I came across this code:

public List openTrips() {
    List huzzah = new ArrayList(open.values());
    Collections.sort(huzzah, new EntryComparator());
    return huzzah;
}
So much for variable names being descriptive.

Posted by phil at April 10, 2003 02:11 AM

Comments

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?