On 5/20/2020 11:26 AM, Chris Angelico wrote:
On Thu, May 21, 2020 at 12:11 AM Eric V. Smith <eric@trueblade.com> wrote:
The fact that operators are notoriously difficult to search for doesn't help any.
The fact that people STILL think that operators are difficult to search for doesn't help either.
Google for "python :=" and PEP 572 is the first hit.
DuckDuckGo for "python :=" didn't give any good results; my next thought was "python := operator" which didn't do much good. For most of the common operators, you'd get it from "python operator precedence", but unfortunately DDG is showing Python 2.7 search results above Python 3, so you'd have to go down to the page eighth in the search results, then browse the table. But when you do get there, it's not too hard to glance over the table, find that ":=" is an "assignment expression" and go from there.
Bing for "python :=" has what looks like three paid search results, and then the first real result is Stack Overflow asking what the colon equal (:=) operator means, and even though the question is older than PEP 572, the accepted answer has been updated to link to it.
Yandex failed to find the := operator specifically, but as with DDG, I had to go for "python operator precedence". Fortunately, it did give the Py3 page as the first hit.
I tried a few of the more obscure search engines, and most of them seem to give the same results as one of the above. (I suspect quite a few of them get their results from one of the big ones anyway.)
So two very popular search engines (Google and Bing) give excellent results straight away, and everything can at least find the operator precedence table, which is a good way to get started. I have to penalize DuckDuckGo a bit for not putting current version results at the top, but even then, it WAS on the first page, and of course you can always say "python 3 operator precedence".
Operators ARE searchable.
I think you meant ":= is searchable using half search engines I tried, both of which are very popular". Which might be good enough for this particular proposal, but I disagree. I couldn't get anywhere with single character operators and Google. So you haven't shaken my faith in my assertion. Eric