The computer is designed to perform human functions at an even greater speed compared to what it would naturally take a normal human being to perform the same function. This is why programming can be associated with the daily life of human beings. Nick Bostrom who is the Oxford University's director of the Future of Humanity Institute posits that:

Humanity is literally living in a computer simulation. Instead of having brains in vats that are fed by sensory inputs from a simulator, the brains themselves would also be part of the simulation. It would be one big computer program simulating everything, including human brains down to neurons and synapses. (Kuhn R. L) Now let us consider some aspects of programming that reflect the daily life of humans.


Class and object are the most pertinent aspect of Object Based Programming. A programmer once pointed out that class is the blueprint of the Object while the Object is the actual entity with inherent meaning, peculiar characteristics and attitude.

This is similar or can be compared to what is obtainable when one buys a new mobile device from a mobile store. When you open the phone pack, there is the likelihood that you will find an instruction manual, the mobile device, headphones and a charger.

Here, it is the mobile device that is the object because it is a physical entity which is purposeful and with certain characteristics. On the other hand is the instruction manual which is likable to class.



Encapsulation involves the packaging of data and functions into one unit (which is the class). Encapsulation also guarantees the security of the data.
When a medicine is encapsulated, there is an outer layer or coating which performs several functions:

It helps to maintain the intactness of the medicinal components. It disallows intrusion from all external threats which may alter its composition.

It improves the efficacy of the medicine as it arrives the target area without any alteration in its internal build up.

The compositions in the medicine can be regarded as the data and its functions while the packaging of the medicine to forestall external threats to the medicine is as guaranteeing data security.


Inheritance is a situation whereby an object or class derives certain properties from another object or class. The object or class uses similar implementation process to specify its implementation and maintain the same behavior—this is realizing an interface.

In this same manner does a child inherits or extends certain genetic traits from the parents, which it will in turn pass on to its own offspring.

In programming, the parent class does not inherit from the offspring class, This is how human beings are also programmed to function.

Parents bequeath upon their offspring certain genetic traits and material property such as money and gifts and they are not expected to take it back from the child.



Polymorphism describes the condition of appearing in various forms. There is a saying that goes thus: when you are in Rome, you behave like a Roman.

This is how humans being are; they change their personalities as they arrive different places.

Even in life, we take on different speech mannerism when taking on the role of a child to our parents, as a student in the classroom, or as a customer in the market.

Human being, therefore, carryout polymorphism in daily life, a single person acts out different roles at various times depending on the circumstances involved.



Variable can be said to be a value that is liable to changes. A variable is subject to change as it depends on the conditions and information worked on the program by the programmer.
In human beings, emotions, needs, desire, expectations and other such related feelings can be regarded as variables.

This is because they are subject to alterations as a result of the influence from internal and external conditions or the environment we find ourselves. For instance, people will be happy when something good happens to them but they become sad if something bad occurs.

What has happened here is that we have subjected our mood to changes in internal and external conditions. In programming, therefore, mood becomes the variable whose value is subject to alterations based on the program and the programmer.



A constant is an identifier that has an associated value and which is not subject to alteration by the program during the process of its normal executionPhew! This definition is a tough one for normal people as me to remember but let us look at it this way:

The human body is thought to be bipartite, right?

There is the soul and there is the body.

The body is believed to be just an outer covering (epidermis)—a variable subject to change.

On the other side is the soul which is basically constant.

The soul can traverse from one body to another and remain constant.

So, consider the human soul as a constant, it never dies.

But our body is subject to various variables such as growth, disease, food, death and decay.