Difference between revisions of "Class Commons"

(Update after voting)
Line 5: Line 5:
 
Currently there aren't any specifications, as there hasn't been decided on anything yet.
 
Currently there aren't any specifications, as there hasn't been decided on anything yet.
  
=== Proposed features ===
+
=== Features ===
 +
(determined by votes)
 
* Single-class inheritance
 
* Single-class inheritance
 
* Constructors
 
* Constructors
 
* Instance methods
 
* Instance methods
* Inherited instance methods
+
* Polymorphism
* Getting the class of an instance
+
 
* Getting the name of a class
+
Class definition is single-write read-only, so the entire class has to be defined on creation
  
 
== Compatibility ==
 
== Compatibility ==
Line 17: Line 18:
 
* [[Simple Educative Class System|SECS]]
 
* [[Simple Educative Class System|SECS]]
 
* [http://bitbucket.org/bartbes/slither Slither]
 
* [http://bitbucket.org/bartbes/slither Slither]
* [http://github.com/kikito/middleclass/wiki MiddleClass?]
+
* [http://github.com/kikito/middleclass/wiki MiddleClass]
 
* [http://vrld.github.com/hump/#class hump.class]
 
* [http://vrld.github.com/hump/#class hump.class]

Revision as of 07:20, 24 June 2011

Class Commons is a project to provide a common compatibility interface for class systems. The goal of this is to make libraries independent of class libraries, a library using the Class Commons API can then be used with any class system adhering to it (albeit via a compatibility layer).

Specifications

Currently there aren't any specifications, as there hasn't been decided on anything yet.

Features

(determined by votes)

  • Single-class inheritance
  • Constructors
  • Instance methods
  • Polymorphism

Class definition is single-write read-only, so the entire class has to be defined on creation

Compatibility

Class libraries willing to use Class Commons: