h1

Tuesday 17/10/06

October 17, 2006

This is incredibly geeky, but I laughed quite hard after a lack of forsight while writing a computer program caused me to write:

while (k < p+1)

       temp = temp + 0;

END

In essence, those lines tell the computer to test to see if a certain condition is true and, if it is, then not to do anything about it. Exactly the same function could (more efficiently) be coded:

.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.