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

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Tue Sep 9 11:53:22 EDT 2003

Michael Sperber wrote:

>>>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 :-)

I use CAPITALS for constant global variables and *stars* for mutable
global variables.

The primary purpose of the DATA statement is to give names to constants;
instead of referring to pi as 3.141592653589793 at every appearance, the
variable PI can be given that value with a DATA statement and used instead
of the longer form of the constant.  This also simplifies modifying the
program, should the value of pi change.
      - FORTRAN manual for Xerox Computers

Jens Axel Søgaard

Posted on the users mailing list.