If you have the time, you can read this article else you can do something else. Sounds logical, doesn’t it? Well, That’s programming for you in a nutshell. Programming is all about writing code that will give different outputs depending upon the state of various variables at the moment.