Re: [pure-lang-users] null
Status: Beta
Brought to you by:
agraef
|
From: John L. <joh...@gm...> - 2008-09-25 16:26:08
|
If Albert doesn't like the trailing ?, then I think isMatrix is a
pretty decent compromise!
John
On 25 Sep 2008, at 17:20, John Cowan wrote:
> Albert Graef scripsit:
>
>> Still I can't drag myself to like the idea that ? is an alphanumeric
>> when ! and . aren't. ;-)
>
> Well, as I say, you can treat it as a restricted part of identifier
> syntax:
>
> <identifier> :== <alpha> <alphanum>{0,} <question-mark>{0,1}
>
>> Any other ideas about a sane naming convention for type predicates
>> that does not require changes in the lexical syntax?
>
> I think the Q "is" convention was actually pretty good, and it's only
> one silly letter longer than the -p convention.
>
> (This alludes to an ancient commercial for Chesterfield cigarettes;
> they came in standard and 101-mm (rather than 100-mm) sizes and were
> sold using the slogan "Just a silly millimeter longer.")
>
> --
> John Cowan co...@cc... http://ccil.org/~cowan
> If I have seen farther than others, it is because I am surrounded
> by dwarves.
> --Murray Gell-Mann
|