Tuesday, 4 October 2016

INTEGER VS VOID

Program was going good , Now a function was required. I typed integer , suddenly I started to think, why I always choose integer return type rather than void.
And I think I hate void return type.But why?
Later on I realized, Integer always returns a value like good people but void never.
So people should also be like integer return type. Otherwise people(Programmer) will prefer void.
But in some case, programmer required void type and they know void not returns any value but still they use but whenever they get the chance they remove all void types from their program and start to find like integer return type because as you know integer always returns value.
And this the nature of human that they always like the things which returns something like integer.

No comments:

Post a Comment

Post Ads (Documentation Required)