On Sun, Jul 10, 2011 at 2:15 PM, rantingrick <rantingr...@gmail.com> wrote:
> On Jul 4, 3:43 am, Gregory Ewing <greg.ew...@canterbury.ac.nz> wrote:
>> rantingrick wrote:
>> > what concerns me is the fact that virtual methods in derived
>> > classes just blend in to the crowd.
>> > I think we really need some
>> > sort of visual cue in the form of forced syntactical notation (just
>> > like the special method underscores).
>>
>> If you're suggesting that it should be impossible to override
>> a method unless it is specially marked somehow in the base
>> class, I think that would be a bad idea.
>
> Sorry i did explain properly... No NOT marked in the BASE class but
> marked in the DERIVED class! My concerns are from a readability
> standpoint.



I also like the idea of override annotations and I've created a blog
post at: 
http://pydev.blogspot.com/2011/06/overrideimplements-templates-on-pydev.html
to explain how I do use it (and in a way that I think should be
standard in Python the same way it's in Java).

Cheers,

Fabio
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to