Monday 21 November 2016

Love is similar to Java

I think love can be easily explained through an object oriented programming language like Java where love is class and the partner is an object. Everyone has some expectations of their life partner in their mind which is analogous to the methods of class. When you meet a person with those qualities and you see your dreams getting a physical existence, an object is created. But the problems you don’t foresee are data abstraction, inheritance and polymorphism. Data abstraction is the hiding of data from one another. You may not know everything about your so called perfect match. Inheritance is the new qualities those get added to the old ones. A person is not a constant, infact a variable. He/she gets changed and you may not like all the changes. And polymorphism is that “Many objects can be created for a single class just like many partners can be found with same qualities”. 
For those who say we are happily in love from many years and why can't we leave happily for the rest of life? My dear friends, A program with no compile time errors doesn't mean that the program can't lead to run time errors.

2 comments:

  1. What an analogy Sir? Especially the ending line sounds very good ;)

    ReplyDelete