[mercury-users] Event handling in mercury

Peter Schachte schachte at cs.mu.OZ.AU
Tue Jul 24 01:35:51 AEST 2001


On Mon, Jul 23, 2001 at 09:55:08PM +1000, Fergus Henderson wrote:
> On 17-Jul-2001, Holger Krug <hkrug at rationalizer.com> wrote:

> > Maybe better to use the term "static" than global, directly
> > corresponding to mainstream e.g. Java terminology.
> 
> OK, that's probably a good idea.

'Static' isn't really a very good name for it, even though it's common
practice.  I hate explaining to students that static doesn't mean what they
think it means (unchanging), 'final' does.  Static means "shared."

Really, "static variable" is an oxymoron.  I can't imagine what possessed
K&R to use that word (for two completely different things:  "having the
lifetime of the whole program execution" and "not visible outside this
file.")

-- 
Peter Schachte <schachte at cs.mu.OZ.AU>  A society that will trade a little
http://www.cs.mu.oz.au/~schachte/      liberty for a little order will
Phone:  +61 3 8344 9166                deserve neither and lose both.
Fax:    +61 3 9348 1184                    -- Thomas Jefferson 
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list