[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prefix, not postfix
On 4/13/06, Philippe Meunier <email@example.com> wrote:
> Marc Feeley <firstname.lastname@example.org> wrote:
> >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
As an example of a procedure that looks especially nice with suffix
syntax, here is SEND-MAIL from the Hato mail server:
(send-mail From: "Dr. Watson <email@example.com>"
To: "Sherlock Homes <not-really@221B-baker.street>"
Subject: "First Report"
Body: "Moor is gloomy. Heard strange noise, attached."
Attachments: '((File: "howl.ogg")))