An extension to OOP

From: Booted Cat (coolspeech_at_hotmail.com)
Date: 04/20/04

  • Next message: Booted Cat: "An extension to OOP"
    Date: 20 Apr 2004 00:11:44 -0700
    
    

    AN EXTENSION TO OOP

    Recently I had an inspiration of viewing a class as a set of
    properties (A property can be a member function, a member variable,
    etc). In this view, a new class can be declared not only as a
    COMBINATION of two or more base classes, but also as:
    1. a UNION class of two or more base classes, which remains only one
    copy for duplicated base properties;
    2. a INTERSECTION class of two or more base classes, whose properties
    are previously the duplicated base properties;
    3. a RELATIVE COMPLEMENT class of base class B relative to base class
    A, which keeps the A\B (relative complement) set of properties;
    4. a SUBCLASS or a SUPERCLASS of a base class X, by providing a subset
    or a superset of properties from class X.
    5. Any other type of set borrowed from the set theory that is OOP
    significant.

    By implementing the above new approaches to class declaration, OOP
    will be more flexible.

    Yao Ziyuan,
    First-Year Computer Science B.S. Student of Fudan University
    info@babelcode.org


  • Next message: Booted Cat: "An extension to OOP"

    Relevant Pages

    • An extension to OOP
      ... properties (A property can be a member function, a member variable, ... are previously the duplicated base properties; ... By implementing the above new approaches to class declaration, OOP ...
      (comp.object)
    • An extension to OOP
      ... properties (A property can be a member function, a member variable, ... are previously the duplicated base properties; ... By implementing the above new approaches to class declaration, OOP ...
      (comp.object)
    • An extension to OOP
      ... properties (A property can be a member function, a member variable, ... are previously the duplicated base properties; ... By implementing the above new approaches to class declaration, OOP ...
      (comp.object)
    • An extension to OOP
      ... properties (A property can be a member function, a member variable, ... are previously the duplicated base properties; ... By implementing the above new approaches to class declaration, OOP ...
      (comp.object)
    • An extension to OOP
      ... properties (A property can be a member function, a member variable, ... are previously the duplicated base properties; ... By implementing the above new approaches to class declaration, OOP ...
      (comp.object)