From: Ariel Rios <ariel@arcavia.com>
To: "÷ÃÂÃÂÃÂÃÂÃÂÃÂÃÂ
ãÃÂÃÂÃÂ
ÃÂÃÂÃÂÃÂÃÂ" <wowa@jet.msk.su>
Cc: guile-gtk@sourceware.cygnus.com
Subject: Re: about scheme names
Date: Wed, 12 Jan 2000 10:12:00 -0000 [thread overview]
Message-ID: <387CC2C4.D38F722C@arcavia.com> (raw)
In-Reply-To: <E128JI7-0000A9-00@horse>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 881 bytes --]
÷ÃÃÃÃÃÃà ãÃÃÃ
ÃÃÃÃÃ wrote:
>
> Hi,
>
> Many gtk+ functions have 'void' return type, so they are called for
> side effects only. Usually the names of such procedures in Scheme are
> suffixed with exclamation sign (!).
The practice is that 'operations that change the value of variables
(or that change data strucs) are given names that end with an
exclamation mark'
I don't think that Gtk funcs that return void fall into this category.
> Also the common practice is to name the arguments and procedures,
> which are of boolean type, with names ending with question mark (?).
>
> IMHO, it would be useful to make corresponding updates in the
> guile-gtk procudere, wich convert C names to Scheme names.
I don't think adding ! and ? is not a good idea. IMHO, we shall follow
Gtk naming conventions as close as possible.
Ariel
prev parent reply other threads:[~2000-01-12 10:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-12 0:38 ÷ÃÃÃÃÃÃà ãÃÃÃ
ÃÃÃÃÃ
2000-01-12 10:12 ` Ariel Rios [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=387CC2C4.D38F722C@arcavia.com \
--to=ariel@arcavia.com \
--cc=guile-gtk@sourceware.cygnus.com \
--cc=wowa@jet.msk.su \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).