Novel operator syntax

Dean Landolt dean at deanlandolt.com
Tue Oct 29 11:34:39 PDT 2013


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/


On Tue, Oct 29, 2013 at 2:25 PM, Brendan Eich <brendan at mozilla.com> wrote:

> Tristan Zajonc wrote:
>
>> Sorry, at most I'm only proposing every *existing* operator prefixed by
>> ., not new operators.  So things like
>> .+, ./, .*, .-., .%, .==, .!=, .>, .<, etc.  These would be called dot
>> operators.  This is all that's required by the
>> technical computing use case.
>>
>
> Why is the dot needed, though?
>
> /be
>
> ______________________________**_________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/**listinfo/es-discuss<https://mail.mozilla.org/listinfo/es-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131029/38ed27c9/attachment.html>


More information about the es-discuss mailing list