Sunday, May 31, 2009

The World - A Programmer's Perspective

To me, The world is like a object oriented application, involving objects of classes and their state machines!

All we know that somebody had these requirements. He/She might have written the complete application himself or might have formed a team to write it in modules.

The system has classes with different levels of various properties like knowledge, intelligence, learning capacity, information storage decision making, permissions/rights and innovation etc .

They do have calls to APIs like sleep in their eventHandlers where the time periods are run time configurable.

The inheritance is implemented at its best. Objects of most classes do create new classes derived from them and instanciate them. And of course they do use features of their base classes in the process.

Due to basic inherited properties like knowledge, intelligence, decision making etc, the derived class objects do have capability to add, remove or change properties.

Almost all the classes that can be instantiated are singleton, rest of the classes are abstract.

The system also supports friend and static functions/classes. And most of the objects do have dependency on their state machines involving other objects.


In this system, an object's life is all about its characteristics and the state machines its a part of!


Note: No comments on the platform of the application. :)

No comments:

Post a Comment