>>>>> On Tue, 2 Dec 2003 10:11:01 -0000, "Lindsay Marshall" <[EMAIL PROTECTED]> said:
>> I'm afraid that each language has its own rules and conventions that
>> depend on what is already lexically allowed in those languages. For
>> example, in standard Prolog variables _must_ begin with a captial
>> letter and constants must begin with a lower case letter.
Lindsay> But once you know that it is prolog then this makes it
Lindsay> very easy to read since you have the visual cues. Just as
Lindsay> for languages where the convention is to put CONSTANTS in
Lindsay> aLl CaPitALs. It's 41s0 \/\/Hy l33t is hard to r34d!
Indeed. However, I was simply responding to the unqualified assertion
that constants are in all capitals. Here are constant conventions from
various languages:
foo_bar
FOO_BAR
$foo-bar
+FOO-BAR+
__Jason
----------------------------------------------------------------------
PPIG Discuss List ([EMAIL PROTECTED])
Discuss admin: http://limitlessmail.net/mailman/listinfo/discuss
Announce admin: http://limitlessmail.net/mailman/listinfo/announce
PPIG Discuss archive: http://www.mail-archive.com/discuss%40ppig.org/