[plt-dev] reading symbols beginning with colon as keywords?

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Sun Jun 14 09:55:44 EDT 2009

Matthew Flatt wrote at 06/14/2009 09:34 AM:
> I see no substantial technical advantage for any of the choices of
> syntax, but there's a significant advantage in picking just one. All
> else being equal, a single syntax makes the language easier to learn,
> documentation easier to read, parsers easier to implement and extend,
> etc. So, while I'm unsure that "#:" should be the syntax of keywords
> forever, I'm sure that I don't want to support an additional ":" prefix
> right now.
>   

While I think ":" is superior to "#:", I would not advocate switching to 
":" if doing so meant breaking code that used "#:".  Except perhaps in a 
major new PLT release (e.g., 5.0).

-- 
http://www.neilvandyke.org/


Posted on the dev mailing list.