Monday, August 06, 2012

A computer science perspective

The fundamental concepts of an object-oriented programming language mimics Universe.

1. Object - An object encapsulates data and operations. This is similar to unique attributes and properties of every object in the Universe illustrating the principle of Uniqueness.

2. Message - Objects exchange messages to invoke behavior in other objects. This is similar to the ecosystem of objects that interact with each other in space and time in Universe illustrating the principle of Interconnectedness.

3. Program - An object-oriented program is a collection of communicating objects achieving the goal of the creator of the program. This is similar to collection of infinite objects which is the Universe illustrating the principle of Infiniteness. (The key difference is that the knowledge about the creator or the purpose of Universe is beyond human knowledge. Hence, we synthesize religion/beliefs/worldview to give our lives a  purpose.)

Thinking Object-Oriented

No comments: