[plt-scheme] %, @, ^, etc.

From: Dor Kleiman (dor at ntr.co.il)
Date: Tue Sep 9 12:52:32 EDT 2003

I believe you put stars around globals to differentiate between them and local variables.

I never believed in putting stars around things though. I never have local variables with real names though, so it's no problem to tell which is which.

Dor Kleiman
A. System Adminisrator
NTR Visual Technologies, ltd.

-----Original Message-----
From: Michael Sperber [mailto:sperber at informatik.uni-tuebingen.de] 
Sent: Tuesday, September 09, 2003 5:36 PM
To: Joe Marshall
Cc: Eli Barzilay; plt-scheme at list.cs.brown.edu
Subject: Re: [plt-scheme] %, @, ^, etc.

  For list-related administrative tasks:

>>>>> "Joe" == Joe Marshall <jrm at ccs.neu.edu> writes:

Joe>   For list-related administrative tasks:
Joe>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Joe> From: "Michael Sperber" <sperber at informatik.uni-tuebingen.de>
Joe> To: "Joe Marshall" <jrm at ccs.neu.edu>
Joe> Cc: "Eli Barzilay" <eli at barzilay.org>; <plt-scheme at po.cs.brown.edu>
Joe> Sent: Tuesday, September 09, 2003 10:12
Joe> Subject: Re: [plt-scheme] %, @, ^, etc.

>> >>>>> "Joe" == Joe Marshall <jrm at ccs.neu.edu> writes:
Joe> >
Joe> I disagree.  The reason `globals' are `global' is that they are
Joe> visible
Joe> to large amounts of code, and modifications to them can have
Joe> far-reaching
Joe> effects.
Joe> >
>> Can't a modification to a global variable *always* have far-reaching
Joe> effects?

Joe> Yes.  That's why you *always* put stars around them.
Joe> (What's the objection?)

But if there are *always* stars, you can just leave them out, can't
you, because they serve no real mnemonic purpose?  *I* don't have an
objection---*you* disagreed with me :-)

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

Posted on the users mailing list.