Question mark in variable and function names
Dave Pawson
davep at dpawson.co.uk
Thu Oct 7 13:11:43 EDT 2004
On Wed, 2004-10-06 at 20:28, Alex Martelli wrote:
>
> What about a compromise: allow ! and ? only as the LAST (and NOT only)
> character of an identifier. This leaves you the !cmd as escape to
> shell, and you only need to ask users to leave a space before the
> question mark (as in 'x ?') when they're questing for info about x (or
> you could switch to ?x -- whatever...).
> Embedded, yes, trailing, no -- that's the compromise I'm proposing... no
> 'foo!bar' or 'fee?fie' identifier, just _trailing_ bangs and qmarks...
+1
Sounds more than reasonable to me.
And aligns with other usage?
--
Regards DaveP.
XSLT&Docbook FAQ
http://www.dpawson.co.uk/xsl
More information about the Python-list
mailing list