* setters and exclamation mark
[not found] <3DC10A6300C3AEDA@stateless1.tiscali.cz>
@ 2003-01-03 0:00 ` Daniel Skarda
2003-01-03 0:56 ` Kevin Ryde
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Skarda @ 2003-01-03 0:00 UTC (permalink / raw)
To: guile-gtk
Hello,
current GtkAdjustment patch posted last year (err, few days ago) revealed
guile-gtk naming inconsistency: There are many Gtk functions, one could call
setters (-set-blahblahblah), but wrappers for these functions does NOT have
exclamation mark. On the other hand, emit-field-accessors (build-guile-gtk)
appends `!' to emitted setters.
We can:
1) Forget scheme naming conventions and remove `!' from created setters
(this change would break NOT any code since setter feature has not been
used at all)
2) Add setter hint to define-function, which would mark function as a
setter and build-guile-gtk would add ending `!' to such functions.
I think everybody can imagine tedious work on second way (examine all
functions and mark all setters). Since exclamation mark should be used
uniformly, change could break a lot of code.
So if nobody objects, I say good-bye exclamation mark and choose first way.
0.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-03 0:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <3DC10A6300C3AEDA@stateless1.tiscali.cz>
2003-01-03 0:00 ` setters and exclamation mark Daniel Skarda
2003-01-03 0:56 ` Kevin Ryde
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).