[plt-scheme] poll: keyword syntax

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Sun Jun 14 19:29:53 EDT 2009

Jos Koot wrote:
> Three reasons why I prefer to maintain the current state:
> 1: I am conservative (not in all respects but with respect to 
> languages, natural or computer, I am)
> 2: The # is generally used for special things. A keyword is a special 
> thing. #:k seems better visible than :k or k:
> 3: People (me included)  may be using identifiers starting and/or 
> ending with a colon.
>
> I think that #: belongs in the range of #', #&, #, , #,@, etc.
> It is always possible to adapt your readertable such as to insert # 
> before a colon automatically (as an option please, not as a fixed rule)
> You might even consider an option to suppress showing # when 
> preceeding a colon.
>
> Keywords should be easily visible (with some emphasis) in the program 
> text. #:key is much better distinctive than :key or key:.
> I agree that we need some characters to have special effect 
> (parentheses, brackets, quotes, double quotes, backslashes, vertical 
> bars, braces, white space and #) I prefer the set of special effect 
> characters to be as small as possible. mho,
> Jos
>
add1


Posted on the users mailing list.