This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fixed memory leaks in gdk-1.2.defs


Kevin Ryde <user42@zip.com.au>:

> Marko Rauhamaa <marko@pacujo.net> writes:
> >
> >  - The arrow notation is more descriptive and idiomatic.
> 
> The type names in mixed case don't appear in any function names
> currently though do they? Isn't it normally gtk-color-something?

I think the function naming scheme is an adaptation of the C function
names ("gtk_color_something") rather than the type names.

> >  - The "intern" suffix is actually misleading (no symbol table
> >    manipulation is going on).
> 
> If you read it as short for "internalize" then it seems fairly clear.
> Ie. a thing is brought to a canonical or efficient internal form.

"Intern" and "internalize" sounds to me like entering symbols into the
symbol table. "Coerce", "convert" and "cast" would sound like type
conversion. Scheme uses the arrow notation for coercion.


Marko

-- 
Marko Rauhamaa      mailto:marko@pacujo.net     http://pacujo.net/marko/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]