A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-July/081553.html below:

[Python-Dev] Infix operators

[Python-Dev] Infix operators [Python-Dev] Infix operatorsNick Coghlan ncoghlan at gmail.com
Sat Jul 26 10:23:17 CEST 2008
Sebastien Loisel wrote:
> However, just for posterity (and I'm not going to pursue the argument 
> further than this), I'll say this. The problem of determining the 
> meaning (or overridability or whatever) of x=4$6 is the same as the 
> problem of determining the meaning of x=fooz(4,6). Since it's not a good 
> argument against user-defined functions, I don't see it as a good 
> argument against user-defined operators.

The namespace of usefully mnemonic function names is infinitely larger 
than that of usefully mnemonic punctuation marks. User-defined functions 
are good, but once you have those there is no reason to have 
user-defined operators *as well*.

Cheers,
Nick.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4