January 16, 2003

Skid 20

all that class
invested in a shrimp recipe
plastic drink stirrers
headed by marine
figurines
in a karoake bar
prime-timed by zagat's
hurts to know
what every vice tailor knows
winter's five o'clock
spreads word of the sanctions
against illiterate pleasure

day one
storm
"it was beautiful"
(i'm pulling this from a nick
drake tune, but
it sounds eerie, here)
the endless, colored waste
"now we rise,
we are everywhere"
as parachutes descend
griot radios tuned
to pensive cell phone users

and refried
uncle ben's
slam into the sea
"the only person left
on the island
was me" (devendra
banhart)
shoreside born like a gulf
in the flue of a house
bearded with sod in farting new
jersey, the force
of a new, god-like activity

Posted by Brian Stefans at January 16, 2003 06:54 PM
Comments

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: Simon at January 19, 2004 05:11 AM

Let's see an example by converting our favoriteNumber variable from a stack variable to a heap variable. The first thing we'll do is find the project we've been working on and open it up in Project Builder. In the file, we'll start right at the top and work our way down. Under the line:

Posted by: Felix at January 19, 2004 05:12 AM