[C++-sig] Re: Silly naming question
Berthold Höllmann
bhoel at web.de
Thu Jul 25 22:42:39 CEST 2002
"David Abrahams" <dave at boost-consulting.com> writes:
> As I revise the class_<> interface to use object instead of handle<>, I
> came across
>
> .setattr("name", obj)
>
> and I'm just wondering if the name "bind" wouldn't be more appropriate here
> than a tweaky abbreviation like setattr:
>
> .bind("name", value)
>
> I'm mildly +1 on this change before we release the library.
>
> Other votes?
To me it sounds like a the python __setattr__ special object method.
If it has the same purpose, I would vote -1 for the namechange.
Greetings
Berthold
--
bhoel at web.de / http://starship.python.net/crew/bhoel/
It is unlawful to use this email address for unsolicited ads
(USC Title 47 Sec.227). I will assess a US$500 charge for
reviewing and deleting each unsolicited ad.
More information about the Cplusplus-sig
mailing list