Sunday, June 17, 2007

'C' Hello World Program

Sometimes when I am in philosophical mood, I confront with a simple question -Is everything in our life preprogrammed by God? Are the decisions which we make in our life just sensory delusions?

If it is the case then whatever we do is just execution of the algorithm/program. All the variables in the program are clearly declared, defined. As the next state of any variable is known if the current state is known, all the variables are deterministic.

Is it just a Deterministic algorithm? Is there no randomness and probability in God's world?

Okay, first let me accept it as the God's program. Then, once main() function is started there can be many functions (lives) to pass through. Some functions with humongous calculations are hard to execute and some other very easy. We may call the functions recursively, and some times end up in infinite recursive function calls, never return back to main. There can be "if(condition) then.. else.." statements in the program. And the satisfiability of the condition can be dependent on the random variables whose values are the results of the person's decisions and actions. These variables can be any of these types - auto, static, volatile and global. Regardless of the type of the variables, the basic question remains as it is - 'Randomness of the variables'. Does God rolls dice to determine the variables or are they deterministic?

I have arrived to this question, unknowingly, to which Einstein once answered "God does not rolls dice." I don't know whether it is true or not but I wish just to know the difference when I am in main and out of main.

1 comment:

Unknown said...

It's all about cause and effect

Past, Present and Future - All are abstract.