From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Wed, 22 Aug 2007 09:54:43 +0000 From: app Message-ID: <1187776240.695036.278770@x40g2000prg.googlegroups.com> Content-Type: text/plain; charset="us-ascii" References: <5d375e920708201825r44ea34f3m7500c4760db7024f@mail.gmail.com> Subject: [9fans] Re: everything is a directory Topicbox-Message-UUID: afab130c-ead2-11e9-9d60-3106f5b1d025 On Aug 22, 11:47 am, jsnx wrote: > On Aug 21, 1:48 am, app wrote: > > > I would just like to remind, that directories with union mounts do > > present "inheritance"...Exactly like in SmallTalk or C++ or > > Java. > > Well, it's not exactly like in Java, since you are composing *two* > bases to make a child -- that's multiple inheritance, which is not > permitted in Java. In OO you are _always_ composing stuff from at least two sets of data and functions: the data and functions of parent, and the data and functions of the new child you are creating. In Plan 9, the standard / net might represent the parent, and /my/net that you bind on top of it represents the new data and new functions you create, in purpose of modifying the parent. Don't you agree that the semantics are roughly the same as in classical OO, even though the syntax, type checking and run-time vs. compile-time trade offs are different? Benefits in Plan 9 approach are numerous: language independence, free serialization, optional persistence, networking, object naming and object permissions provided automatically by the system, not by programmers.