Subject: dash and underscore

From: [email-masked]
Date: Wed, 4 Nov 1992 18:15:08 -0800

Is there a reason that some functions have underscores and 
some use dashes?  For example:

@make-player
set_player_flag

It looks to me like almost everything has underscores, but
a lisp hacker must've written a few functions... :-)

-- Amy

---

From: Pavel Curtis <[email-masked]>
Date: Wed, 4 Nov 1992 18:52:23 -0800

> Date:	Wed, 4 Nov 1992 18:15:08 -0800
> From:	[email-masked]
> 

My rule is that I always use underscore if the verb/function is typically to be
called from MOO code and hyphen if the verb is typically only called from the
command line.  The idea is that underscore doesn't require any quoting in MOO
verb names and hyphen is easier to type.

It is also the case that Lisp hackers have written a fair amount of the code in
the MOO server and LambdaCore database, since both yduJ and I have longish
histories as Lispers, but I don't think that's related to this issue... :-)

	Pavel/Haakon

---

From: Judy Anderson <[email-masked]>
Date: Wed, 4 Nov 1992 19:03:00 -0800

Inside code, dashes will be taken as minus-signs.  So underscores must
be used in identifier names.  In commands, characters can have whatever
meaning we damn well please.  Dashes are more convenient, and thus are
used more often in command names.  You quoted one command name
(@make-player) and one function name (set_player_flag).  Consider the
contexts; you'll see it's fairly consistent.