Problems of Symbol Congestion in Computer Languages
steve+comp.lang.python at pearwood.info
Sat Feb 19 01:03:06 CET 2011
On Fri, 18 Feb 2011 04:43:13 -0800, Xah Lee wrote:
> for example, when you type >= in python, the text editor can
> automatically change it to ≥ (when it detects that it's appropriate,
> e.g. there's a “if” nearby)
You can't rely on the presence of an `if`.
flag = x >= y
value = lookup[x >= y]
filter(lambda x, y: x >= y, sequence)
Not that you need to. There are no circumstances in Python where the
meaning of >= is changed by an `if` statement.
Followups set to comp.lang.python.
More information about the Python-list