On 8/20/07, erik quanstrom <quanstro@coraid.com > wrote:
> Finally, to argue that files are not objects seems silly.  They ARE
> objects.  They have properties.  They have well defined interfaces for
> manipulating those properties.  A more reasonable argument may be that
> they are not object oriented since they lack certain prerequisites such
> as inheritance and abstraction, both mechanisms of extensibility.

so files are non-object-oriented objects?

i bet you can't say that without smiling.

- erik

I think the better way to think of a file is an interface... don't think of it as an object.  The data it refers to might be thought of as an object with properties and metadata (permissions and such).  Files are a way to get to such resources.

 
Files for devices, files for directories, files for data on disk.  All exist in Plan 9.

They're names with paths... and that's about it (well to me).