Re: GIO API review



On Tue, 2007-12-11 at 21:22 +0200, Vincent Geddes wrote:
> Hi,
> 
> On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
> > Also, subclasses should probably append their name, not prepend it:
> > 
> > GFilterOutputStream -> GIOOutputStreamFilter
> > GUnixOutputStream   -> GIOOutputStreamUnix
> > ...
> > 
> > This makes the file and inheritence structure much clearer and would
> > be consistent with stuff we already have (e.g. GtkTreeModelFilter,
> > GtkTreeModelSort).
> 
> Looking over the GTK+ classes, it seems like the TreeView classes are
> the odd ones out. Most classes seem to follow the naming pattern in gio,
> examples being GtkToggleButton, GtkCheckMenuItem, GtkAccelLabel,
> GtkAboutDialog, etc.
> 
> Besides, the proposed naming in the review does go against the naming
> convention set by Smalltalk, Java, C#, et al; and if implemented will
> probably confuse users coming to GTK+ from those worlds.

It's not only different from the naming conventions in those programming
languages, it's also different from plain English, as far as I can tell
as a non-native speaker.

Jürg



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]