Coldc Articles about
Coldc
 

Information About

Coldc




  paradigm Prototype-based
  year 1993
  designer Greg Hudson
  developer Greg Hudson (and others)
  typing Dynamic
  implementations ColdMUD, Genesis
  dialects ColdMUD, Genesis
  influenced By C , MOO , CoolMUD


ColdC is a Programming Language , originally designed for ColdMUD by Greg Hudson in 1993, but with some applications in fields unrelated to MUD s. It is a dynamically Typed Prototype-based Object Oriented system, with a syntax derived from the C Programming Language . It is similar to the MOO Programming Language in that it operates in a runtime which provides persistence (through an Object Database ) and network access.

ColdC includes many of the attributes that made their debut with the CoolMUD system and programming language, such as:

  • Instance Variable s ("properties" in MOO) are all private and not externally visible. Methods ("verbs" in MOO ) must be written to expose them. This is similar to early object-oriented languages such as Smalltalk .

  • There are no builtin properties for owner and location like in MOO . This was done partly to simplify the language and partly to permit more versatile applications.

  • There are no facilities for ownership of objects or Code Security , as strong encapsulation permits these facilities to be written in the ColdC language itself.

  • Multiple ''parent'' relationships, that is multiple objects from which an object can inherit behaviour.


In addition, there are some specific innovations that ColdC added:



EXTERNAL LINKS