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

Re: Prefix, not postfix

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