Proposal: allow '?' and '!' in identifiers

Rainer Deyke root at rainerdeyke.com
Tue Feb 20 22:34:58 EST 2001


"Joshua Marshall" <jmarshal at mathworks.com> wrote in message
news:96ums4$qk2$1 at news.mathworks.com...
> I wouldn't say anything is wrong with that approach.  But then I could
> also ask "Why do we need underscores as valid identifier characters?
> You can just capitalize the next letter."
> The question mark is an unused character, and carries some
> natural-language meaning.  It's useful.

This is mostly a question of aesthetics.  I like the way Python (and C/C++)
does it.  To me, the question mark looks like an operator; the underscore
does not.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list