AKMA's Random Thoughts

April 15, 2003

Pippa on Traffic Prisoners

As we cruised past a miles-long traffic back-up just east of Toledo, Pippa looked across the highway and crowed, “Adios, losers!” We had a little talk after that.

Posted by AKMA at April 15, 2003 09:25 PM | TrackBack
Comments

OK, I'll bite. Did you use this as a chance to explain the concept of compassion, or that of karma?

Enquiring minds and all that...

Posted by: Ewan Grantham at April 16, 2003 09:15 PM

Well, to be candid, I just said, “Pippa?!” She quickly retracted. Then yesterday, I pointed out that we were the losers as we stood in a couple of twelve-mile traffic jams.

Posted by: AKMA at April 17, 2003 08:31 AM

I dunno. I'm sorta with Pippa. One ought to revel in victory--however evanescent--wheneve one can.

Posted by: Clifton D. Healy at April 18, 2003 09:44 AM

Note the new asterisks whenever we reference favoriteNumber, except for that new line right before the return.

Posted by: Catherine at January 13, 2004 10:46 AM

These secret identities serve a variety of purposes, and they help us to understand how variables work. In this lesson, we'll be writing a little less code than we've done in previous articles, but we'll be taking a detailed look at how variables live and work.

Posted by: Hamond at January 13, 2004 10:46 AM

We can see an example of this in our code we've written so far. In each function's block, we declare variables that hold our data. When each function ends, the variables within are disposed of, and the space they were using is given back to the computer to use. The variables live in the blocks of conditionals and loops we write, but they don't cascade into functions we call, because those aren't sub-blocks, but different sections of code entirely. Every variable we've written has a well-defined lifetime of one function.

Posted by: Gilbert at January 13, 2004 10:46 AM