Why does many people take Java programming as things that meant to be inefficient? The complex concept, annoying computer language and self-contained structure. Yes, these are all the factors that people can argue with. But, as a matter of fact, technical reasons and concept innovations had never stayed away from us in this kingdom of computer language. In that case, how should one improve his, if he is a programmer, programming efficiency? Plenty answers are in front us, but one need to be discussed right now. This is the very question: how does inheritance improve a programmer’s productivity?
Inheritance( in computer science) is a concept which is widely used in Java programming. It is a program design idea which point directly to object-oriented in software technologies. In plain terms, the programmer can set up a base class which is the model of derived class. The similarity between base class and derived class can be presented as the “family resemblance”, so the derived is inevitable to have various similar properties and methods just as the base one. This is a structural framework of highly theoretical assumption, but supposing that the programmer can write a program as the parent program which gives the subprogram upper resemblance.
So, how can this highly theoretical programming mode actually help programmers improving their productivity? With the “family resemblance”, the subprogram can automatically possess the feature which programmer want and the parent program already have. In a old way, the programmer has to re-programming in order to make sure that son looks like the father. Now, they have a completely new time-saving mode to draw inferences about other cases from one instance. There is no doubt that this idea of programming can greatly improve efficiency of coding. And with more time, one can do much more than before.