Virtual functions are virtually invisible!
Chris Angelico
rosuav at gmail.com
Sun Jul 10 13:30:12 EDT 2011
On Mon, Jul 11, 2011 at 3:15 AM, rantingrick <rantingrick at gmail.com> wrote:
> I suggest we solve this dilemma by forcing a syntax "tag" when
> declaring clobbering virtual functions.
Python has other dilemmas, too. I suggest we adopt the same solution.
For instance, every statement should begin with a marker, so that we
know it isn't a comment; every variable name should be adorned, so
that we know it's not a keyword like 'if'; and every decimal integer
should begin with "0d" so that we know it isn't hex. Plus, we should
get rid of binary operators with their messy precedence tables;
everything should become function calls.
<STMT> $assign($x,$add(0d5,0d7)) </STMT> # assigns 12 (decimal) to x
This would make Python far less ambiguous. We should proceed with this
right away.
ChrisA
More information about the Python-list
mailing list