"A path name is-a String".
True or false?
I say "true", but I seem to be in the minority. Most folks seem not to be able to conceptually separate the *name* from the physical node on the disk.
Re:sure it is
Dom2 on 2004-12-13T20:45:00
What about UTF-8 filenames? And Unix filenames have additional restrictions: no NULL or slash characters. It may be a string, but it's probably got it's own encoding rules.-Dom
Re:sure it is
rjbs on 2004-12-13T21:11:12
Yes. Those sort of well-formedness rules are the things that add to and restrict the kind of string that a path name is. An integer is a number, even though it's a restricted kind.