Novel operator syntax

Brendan Eich brendan at mozilla.com
Tue Oct 29 11:39:01 PDT 2013


Dean Landolt wrote:
> The PEP Tristan posted offers a pretty compelling case for 
> distinguishing elementwise operators from objectwise ones (although 
> not for this dot syntax per se, they went with a ~-prefix): 
> http://www.python.org/dev/peps/pep-0225/

Got it, thanks. We could indeed do .+, .*, etc. without ambiguity. 
(Ignore E4X's wildcards: xml.* etc.!)

/be


More information about the es-discuss mailing list