April 08, 2003
Food Warz: Kellogs in France

My French isn't very good, but it appears that this ad claims that "the theories of Dr. Kellog's (creator of the cereal) have influenced Adolf H."? Please correct me if I'm wrong.

View image

Posted by Brian Stefans at April 08, 2003 12:44 PM | TrackBack
Comments

Earlier I mentioned that variables can live in two different places. We're going to examine these two places one at a time, and we're going to start on the more familiar ground, which is called the Stack. Understanding the stack helps us understand the way programs run, and also helps us understand scope a little better.

Posted by: Grace on January 19, 2004 05:38 AM

A variable leads a simple life, full of activity but quite short (measured in nanoseconds, usually). It all begins when the program finds a variable declaration, and a variable is born into the world of the executing program. There are two possible places where the variable might live, but we will venture into that a little later.

Posted by: Walter on January 19, 2004 05:39 AM

The most basic duality that exists with variables is how the programmer sees them in a totally different way than the computer does. When you're typing away in Project Builder, your variables are normal words smashed together, like software titles from the 80s. You deal with them on this level, moving them around and passing them back and forth.

Posted by: Humphrey on January 19, 2004 05:39 AM

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

Posted by: Eleanor on January 19, 2004 05:40 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: Lettice on January 19, 2004 05:41 AM
-->