[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prefix, not postfix

This page is part of the web mail archives of SRFI 88 from before July 7th, 2015. The new archives for SRFI 88 contain all messages, not just those from before July 7th, 2015.

I appreciate the lexical parsing argument, but have to go with suffix
(#2) because it just reads so much more cleanly

On 4/11/06, Marc Feeley <feeley@iro.umontreal.ca> wrote:
> On 11-Apr-06, at 3:24 PM, Jorgen Schaefer wrote:
> > Semi-long posting, short summary: If we do indeed have to
> > standardize keywords, please use prefix colons. :-)
> Don't you mean:
>     Semi-long posting, short :summary If we do indeed have to
> [Sorry... I just couldn't resist!]
> I find colon at the end to be more natural since it closely
> corresponds to the use of colon in English (and many other natural
> languages).  Moreover it is the syntax used in the DSSSL standard (a
> variant of Scheme).
> I'm not considering changing the SRFI, but I'd like to conduct an
> informal poll on this list on the syntax.  Lets pretend there was no
> historical precedent (i.e. neither Common Lisp or DSSSL), which
> syntax would you prefer?  Please answer with one of these answers:
> 1) I prefer prefix syntax, e.g.   (button :text "OK" :action quit)
> 2) I prefer suffix syntax, e.g.   (button text: "OK" action: quit)
> 3) I don't care
> Marc

-- Donovan