[Python-ideas] dict.merge(d1, d2, ...) (Counter proposal for PEP 584)
rosuav at gmail.com
Tue Mar 5 03:22:47 EST 2019
On Tue, Mar 5, 2019 at 6:40 PM INADA Naoki <songofacandy at gmail.com> wrote:
> This is why function and methods are better:
> * Easy to search.
> ## Merits of dict.merge() over operator +
> * Easy to Google (e.g. "python dict merge").
This keeps getting thrown around. It's simply not true.
First hit when I do that search is Stack Overflow:
which, while it's not specifically about that exact syntax, does
mention it in the comments on the question. Symbols ARE searchable. In
fact, adding the word "python" to the beginning of that search
produces a number of very useful hits, including a Reddit thread on
combining dictionaries, and PEP 584 itself.
Please can people actually test these lines of argument before reiterating them?
More information about the Python-ideas