Program Inertia March 21, 2007
Posted by WarpedJavaGuy in java, programming.trackback
A program will continue its activity along a path of execution unless compromised by uncertainty.
A Java program is written by a Java programmer and compiled by a Java compiler. In its written form it consists of one or more source files prescribing a purpose. In its compiled form it consists of one or more class files acknowledging a purpose. A compiled program is a predictable program. The execution paths it has are derived from its source. They serve to support all its preprogrammed functions. How many execution paths does a compiled program have? One could arrive at a number by studying the source. Would this approach yield a definitive number? Given the static nature of class files and source files, one would surely think so. Would this number hold true at runtime? Given the dynamic nature of running programs and their environments, one cannot be so sure.
The problem is that programs take time to execute, and where there is time there is change. Predictability cannot guarantee certainty in a changing environment. Therefore a predictable program is also an uncertain program. This is true even for the most trusted and authentic programs. In fact all software products have disclaimers in their terms and conditions of use stating that their vendors are not liable for any damages that may occur. No program is immune from uncertainty. As uncertain as a program may be, it will still have inherent purpose and predictability. This will provide it with the inertia it needs to resist probable uncertainty. It will execute flawlessly as expected unless something disrupts its otherwise predictable execution.
![]()
Comments»
No comments yet — be the first.