<div dir="ltr"><div dir="ltr">On Sat, Mar 16, 2019 at 12:39 AM Antoine Pitrou <<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 16 Mar 2019 01:41:59 +1100<br>
Steven D'Aprano <<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>> wrote:<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Matrix multiplication is a perfect example: adding the @ operator could <br>
> have been done in Python 0.1 if anyone had thought of it, but it took 15 <br>
> years of numerical folk "whinging" about the lack until it happened:<br>
<br>
Not so perfect, as the growing use of Python for scientific computing<br>
has made it much more useful to promote a dedicated matrix<br>
multiplication operator than, say, 15 or 20 years ago.<br></blockquote><div><br></div><div>Theres more to it than that, really, but not really relevant here...</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
This is precisely why I worded my question this way: what has changed<br>
in the last 20 years that make a "+" dict operator more compelling<br>
today than it was?  Do we merge dicts much more frequently than we<br>
did?</blockquote><div><br></div><div>The analogy doesn't hold because @ was a new operator -- a MUCH bigger change than dimply defining the use of + (or | ) for dicts. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I wouldn't mind the new operator if its meaning was clear-cut.  But<br>
here we have potential for confusion, both for writers and readers of<br>
code.<br></blockquote><div><br></div><div>but it's NOT a new operator, it is making use of an existing one, and sure you could guess at a couple meanings, but the merge one is probably one of the most obvious to guess, and one quick test and you know -- I really can't see it being a ongoing source of confusion.</div><div><br></div><div>-CHB</div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature">Christopher Barker, PhD<br><br> Python Language Consulting<br>  - Teaching<br>  - Scientific Software Development<br>  - Desktop GUI and Web Development<br>  - wxPython, numpy, scipy, Cython<br></div></div>