On Tue, May 11, 2004 at 21:47:06 +0200, A. Pagaltzis wrote:
* Jan Hudec <bulb ucw cz> [2004-05-11 21:33]:Registering is of course possible, but it: 1) Does not look perlish. Perl seems to prefer magic names.Seemingly. There's BEGIN, END, etc, but they operate on a different level, they're not functions. OO is traditionally magic name based (con-/destructors, finalizers, etc) in most languages, so it's not particularly a choice on Perl's part. tie() is indeed magic name based. Overlading, on the other hand, is not.
The examples I showed (GET_PROPERTY, SET_PROPERTY, INIT_INSTANCE, FINALIZE_INSTANCE and especialy do_<signal_name>) are all from current Glib::Object::Subclass, contrary to your claim. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb ucw cz>
Attachment:
signature.asc
Description: Digital signature