9 PM March 13, 2003

I've been writing code that uses, for the first time in ages. It's been like meeting up with an old friend and being reminded just how ugly he really is.

For instance: file.list(), which goes to the filesystem to find the names of files does not throw an IOException. On the other hand file.getCanonicalPath(), which 'just' returns a file name does throw an an IOException.

Why the inconsistency, I wonder?

By alang | # | Comments (0)
(Posted to Software Development)


Add Comment

(Not displayed)

(Leave blank line between paragraphs. URLs converted to links. HTML stripped. Indented source code will be formatted with <pre> tags.)

© 2003-2006 Alan Green