Thursday, May 29, 2008

Subjective Uncertainty in Code

So how do we apply subjectivity and uncertainty to code? Here's how: You are uncertain which method you are going to call. You are uncertain as to the order of the parameters to the method. Inside the method, you are uncertain as to which statements are in the body of the code. And you are uncertain as to the ordering of the statements. You are also uncertain of the number of objects and ordering that will be returned from a function.

If you were programming in Lisp, you wouldn't be sure of the ordering or content of the s-expressions in your program.