AKMA's Random Thoughts

August 23, 2003

For You, Joey

I forgot to mention that while Margaret and I were navigating the Metro earlier this week — sniffle — we encountered an accordion busker in our subway car. I thought of a number of things: (1) Can I designate a contribution for the Repair Fund, so that future listeners have a better chance of the accordion functioning better? (2) At times such as this, I do somewhat miss an American sense that mass transit is for getting from one place to another, not for fund-raising. (3) Don’t be such a stick-in-the-mud; the guy’s laboring hard to make a few Euros. (4) He ought to work a little harder before he takes his axe out in public. (5) There’s probably an international brotherhood of accordion players, and even if this guy’s performance reminds me to make a contribution to People for the Ethical Treatment of Animals, I ought to give him some change in honor of Joey deVilla. (6) Joey might be insulted, if he knew how this guy was playing. (7) Just give him the money, you old skinflint.

I dropped some Euros into his cup, but he didn’t stop playing or get any better.

Now that France has gone to Euros, does that mean no one any longer says he or she doesn’t give a sou? I never encountered a sou, as far as I know (I was strictly a New Francs and centimes man), but the expression always appealed to me.)

Posted by AKMA at August 23, 2003 08:10 PM | TrackBack
Comments

In a bubble of synchronicity, a friend the other night remarked that he was going deeply in debt. "Haven't got a sou," he said. Then in an embarassing attempt at cross cultural reference, he revised his statement to "I really don't have a nickel." To be sous sou is so sad, doncha think?

Posted by: fp at August 24, 2003 02:44 PM

Frank, woldn't it be “sans sou”?

“Sans sou,” see?

Posted by: AKMA at August 24, 2003 04:23 PM

No matter how bad the player, I'm flattered whenever people think of me whenever they hear an accordion.

Was he really that bad? i could've sworn that the French or perhaps the Academie kept strict quality control over this kind of stuff.

Posted by: Joey deVilla at August 24, 2003 08:16 PM

Merci AKMA. I see... as they say in Potsdam, you must pardon my French.

Posted by: fp at August 24, 2003 09:43 PM

Drat... I thought I had linked "Potsdam" to this tourist site:

http://www.berlin-en-ligne.com/potsdam_sanssouci.php

Posted by: fp at August 24, 2003 09:48 PM

That gives us a pretty good starting point to understand a lot more about variables, and that's what we'll be examining next lesson. Those new variable types I promised last lesson will finally make an appearance, and we'll examine a few concepts that we'll use to organize our data into more meaningful structures, a sort of precursor to the objects that Cocoa works with. And we'll delve a little bit more into the fun things we can do by looking at those ever-present bits in a few new ways.

Posted by: Ebulus at January 12, 2004 09:29 PM

For this program, it was a bit of overkill. It's a lot of overkill, actually. There's usually no need to store integers in the Heap, unless you're making a whole lot of them. But even in this simpler form, it gives us a little bit more flexibility than we had before, in that we can create and destroy variables as we need, without having to worry about the Stack. It also demonstrates a new variable type, the pointer, which you will use extensively throughout your programming. And it is a pattern that is ubiquitous in Cocoa, so it is a pattern you will need to understand, even though Cocoa makes it much more transparent than it is here.

Posted by: Polidore at January 12, 2004 09:30 PM

Being able to understand that basic idea opens up a vast amount of power that can be used and abused, and we're going to look at a few of the better ways to deal with it in this article.

Posted by: Edmund at January 12, 2004 09:31 PM

But some variables are immortal. These variables are declared outside of blocks, outside of functions. Since they don't have a block to exist in they are called global variables (as opposed to local variables), because they exist in all blocks, everywhere, and they never go out of scope. Although powerful, these kinds of variables are generally frowned upon because they encourage bad program design.

Posted by: Valentine at January 13, 2004 12:54 PM