Friday, March 14, 2003

java.io.File

Nu Cardboard:

I’ve been writing code that uses java.io.File, 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.

I’ve always thought that File had an odd interface and an odd mix of functionality. Then again, at least Java has an abstraction for files. (Cough.)

1 Comment RSS · Twitter

Its somewhat better than it used to be though. At least it now has a method that creates a url from the File object. That is a system dependent method and you used to have to write a case for each OS.

Leave a Comment