[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.

Marc Feeley <feeley@iro.umontreal.ca> writes:

> 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!]

Didn't you mean (excuse (could-not I (resist)))?

Natural language is not a programming language, and Scheme does
not try to be a natural language. And that is _good_. :-)

> 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).

Many people find infix math operators more "natural". Scheme still
does not do infix math operators for consistency reasons. I don't
think the question of what is "natural" is more applicable here
than it is there.

> 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

Obviously, I'm with 1.

        -- Jorgen

((email . "forcer@forcix.cx") (www . "http://www.forcix.cx/";)
 (gpg   . "1024D/028AF63C")   (irc . "nick forcer on IRCnet"))