Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #9649
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiofz@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'override': 0.07; 'suggesting': 0.07; 'python': 0.08; 'annotations': 0.09; 'derived': 0.09; 'received:209.85.214.174': 0.13; 'received:mail- iw0-f174.google.com': 0.13; 'wrote:': 0.15; 'rantingrick': 0.16; 'syntactical': 0.16; 'url:pydev': 0.16; 'class,': 0.16; 'cc:addr :python-list': 0.16; 'pm,': 0.16; 'cheers,': 0.19; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'gregory': 0.23; 'somehow': 0.23; '(and': 0.27; 'sort': 0.28; 'received:209.85.214': 0.28; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.30; 'fact': 0.30; 'classes': 0.30; '(just': 0.30; 'ewing': 0.30; 'sun,': 0.30; 'class': 0.31; "i've": 0.33; 'post': 0.34; 'idea': 0.36; 'explain': 0.36; 'specially': 0.37; 'unless': 0.37; 'some': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'created': 0.38; 'think': 0.38; 'should': 0.39; 'received:209': 0.40; 'did': 0.40; 'methods': 0.40; 'marked': 0.64; 'url:2011': 0.64; 'subject:!': 0.67; 'special': 0.67; 'subject:are': 0.70; 'concerns': 0.80; 'readability': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=u5+yvPxVF8LJISlSTAHnQ3QsQlciJwvKnAlLKZciLas=; b=hWVX8cGt+WyRaNEnFTH4N4eWIRGC1GxuHlb/X2YS3CNa7SlvN0EvXbANtSpmTqgz3z Fqa3eCVCexjqWm5gistyP405RTt2/776ImSXys698MbN716gAfxAnSnqM/0rJACRg4jk jloIjny0gU+XY6xJFGPziFy51yJr4UE3W7fKM= |
| MIME-Version | 1.0 |
| In-Reply-To | <d13c09ce-f44b-4cbe-bdd2-c997675e57da@t5g2000yqj.googlegroups.com> |
| References | <a26063b5-7f2a-4452-898a-6fbcbaa3ed9a@j23g2000yqc.googlegroups.com> <97dcpqFdndU1@mid.individual.net> <d13c09ce-f44b-4cbe-bdd2-c997675e57da@t5g2000yqj.googlegroups.com> |
| From | Fabio Zadrozny <fabiofz@gmail.com> |
| Date | Sat, 16 Jul 2011 19:34:54 -0300 |
| Subject | Re: Virtual functions are virtually invisible! |
| To | rantingrick <rantingrick@gmail.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1133.1310855718.1164.python-list@python.org> (permalink) |
| Lines | 28 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1310855718 news.xs4all.nl 23876 [2001:888:2000:d::a6]:49854 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:9649 |
Show key headers only | View raw
On Sun, Jul 10, 2011 at 2:15 PM, rantingrick <rantingrick@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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Virtual functions are virtually invisible! rantingrick <rantingrick@gmail.com> - 2011-07-03 15:55 -0700
Re: Virtual functions are virtually invisible! Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-07-04 20:43 +1200
Re: Virtual functions are virtually invisible! rantingrick <rantingrick@gmail.com> - 2011-07-10 10:15 -0700
Re: Virtual functions are virtually invisible! Chris Angelico <rosuav@gmail.com> - 2011-07-11 03:30 +1000
Re: Virtual functions are virtually invisible! Michael Hrivnak <mhrivnak@hrivnak.org> - 2011-07-10 20:31 -0400
Re: Virtual functions are virtually invisible! rantingrick <rantingrick@gmail.com> - 2011-07-10 19:35 -0700
Re: Virtual functions are virtually invisible! Michael Hrivnak <mhrivnak@hrivnak.org> - 2011-07-11 00:45 -0400
Re: Virtual functions are virtually invisible! rantingrick <rantingrick@gmail.com> - 2011-07-11 06:42 -0700
Re: Virtual functions are virtually invisible! Chris Angelico <rosuav@gmail.com> - 2011-07-12 00:41 +1000
Re: Virtual functions are virtually invisible! rantingrick <rantingrick@gmail.com> - 2011-07-11 14:46 -0700
Re: Virtual functions are virtually invisible! Chris Angelico <rosuav@gmail.com> - 2011-07-12 18:40 +1000
Re: Virtual functions are virtually invisible! alex23 <wuwei23@gmail.com> - 2011-07-12 22:48 -0700
Re: Virtual functions are virtually invisible! Fabio Zadrozny <fabiofz@gmail.com> - 2011-07-16 19:34 -0300
Re: Virtual functions are virtually invisible! rantingrick <rantingrick@gmail.com> - 2011-07-16 15:58 -0700
Re: Re: Virtual functions are virtually invisible! Dave Angel <d@davea.name> - 2011-07-16 21:45 -0400
csiph-web