3 ms·
Why not just write object oriented shell scripts and classes in the file system? ;) The patent's expired (I like to think of this as a Mercy Patent, that benef
by DonHopkins 8y ago
Why not just write object oriented shell scripts and classes in the file system? ;)
The patent's expired (I like to think of this as a Mercy Patent, that benefits society by keeping people from doing this for 20 years):
Method for apparatus for implementing a class hierarchy of objects in a hierarchical file system
https://patents.google.com/patent/US5187786 https://patents.google.com/patent/US5187786
Abstract
A method and apparatus for implementing a class hierarchy of objects in a hierarchical file system is disclosed, which does not require the support of additional file attributes by the hierarchical file system, and has particular application to object oriented programming in window-based computer systems. The class hierarchy comprises a root class, a plurality of classes and a plurality of class instances. The root class is implemented with a hierarchy of root class directory and root class files. Each class is implemented with a hierarchy of class directories and class files comprising the class methods, and the initial values of the class instance variables. Each class instance is implemented with a hierarchy of class instance directory and class instance files comprising the class instance variables. Each hierarchy of directories and files also comprises a path file. The content of these path files are logically related to each other, based on their class' relationships. By controlling the invocation of class methods, using these path files, inheritance is achieved. By accessing the class instance variables through the class methods, data abstraction is also achieved. Additionally, the method and apparatus also supports the pseudo class instance/class "Self" and "Super" when invoking another class method by a class method.