This is the mail archive of the
guile-gtk@sourceware.cygnus.com
mailing list for the Guile project.
Re: about scheme names
- To: "Владимир Цишевский" <wowa at jet dot msk dot su>
- Subject: Re: about scheme names
- From: Ariel Rios <ariel at arcavia dot com>
- Date: Wed, 12 Jan 2000 12:07:00 -0600
- Cc: guile-gtk at sourceware dot cygnus dot com
- References: <E128JI7-0000A9-00@horse>
Владимир Цишевский 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