Re: [XPS-devel] XPL Schema Complexity Reduction
Status: Alpha
Brought to you by:
raspencer
From: Reid S. <re...@re...> - 2002-09-14 02:23:10
|
Oops, I forgot to mention one other schema change that I am considering for the 2.0 release: Currently, the definitions of file, stream, region, and segment types all support full object orientation like interfaces and classes. However, in thinking about this, it makes them pretty heavy weight. It also gets confusing when multiple inheritance is involved. Suppose you derive a class that inherits from both file and stream? The interfaces of file and stream are almost identical so you'd have to rename one in favor of the other. That just smacks of bad design. So, I'm proposing that files, streams, regions, and segments be fundamental objects in XPL/XPS, each with their own set of operators. This makes their use much more concise, probably more efficient, and definitely more understandable. Furthermore, there is nothing that will stop us from creating wrapper classes around these objects so that, if needed, the full power of object-orientation can be accessed in conjunction with files, streams, regions, and segments. I think this will significantly streamline XPL and hope you agree. Please let me know if you disagree. Thanks, Reid |