[C++-sig] Re: Pyste bug - static member functions...
Nicodemus
nicodemus at globalite.com.br
Tue Jun 17 13:39:52 CEST 2003
David Abrahams wrote:
>Nicodemus <nicodemus at globalite.com.br> writes:
>
>
>
>>>I also like Dave's suggestion to use the term 'final' to denote virtual
>>>functions that are not expected to be overloadable from Python.
>>>
>>>
>>>
>>I considered it too, but I thought that "no_override" was more
>>clear. What you guys think?
>>
>>
>
>WWJD - What Would Java Do?
>
>I think it depends on whether "final" on a Java method means you can
>write a new (non-virtually-dispatched) one of that name or not.
>
I believe that in this context, "final" has the same meaning as in
Java... I do not like it much because the meaning is not obvious from
the word alone, but perhaps using a familiar term to some other
programmers might be better than coming up with a new one?
More information about the Cplusplus-sig
mailing list