c69's Browser Pit

Simplified modern definition of OOP

, ,

http://wcook.blogspot.com/2012/07/proposal-for-simplified-modern.html

An object is a first-class module that is invoked polymorphically. A module is a collection of named operations that can be invoked by clients, and which may include additional hidden details. Polymorphic invocation means that different objects can implement the same operation name(s) in different ways, so the specific operation to be invoked must come from the object identified in the client's request. First-class means that the object can be used in any context where a value is expected, including being passed to operations or returned as the result of an operation.

A language or system is object oriented if it supports the dynamic creation and use of objects. Support means that objects are easy to define and use. It is possible to encode objects in C or Haskell, but an encoding is not support.



Very elegant definition, imho.

Yet another JS MVC frameworkSafari iOS6 will have remote debugging

Write a comment

New comments have been disabled for this post.

May 2013
M T W T F S S
April 2013June 2013
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31