Question mark in variable and function names

Alex Martelli aleaxit at yahoo.com
Wed Oct 6 21:28:43 CEST 2004


Kendall Clark <kendall at monkeyfist.com> wrote:

> On Wed, Oct 06, 2004 at 07:11:02PM +0200, Alex Martelli wrote:
> 
> > Ruby has this convention and it seems to work wonderfully well for them.
> > I wish Python could grow it, too, but I don't think I stand any chance
> > of convincing Guido -- perhaps somebody else can.
> 
> For my money this is *the* biggest syntactic wart in Python. I think ?

I don't think of this as a wart, personally -- just a little _lack_.

> and ! at the ends of function/method names is an insanely good idea
> that Python should steal. I'm not holding my breath, but it would be
> really great to at least have a community conversation about this.

Sure, we should make a PEP if we have any real hope of it ever really
happening...


Alex



More information about the Python-list mailing list