
Feb. 12, 2015
12:38 a.m.
On 02/11/2015 04:27 AM, Donald Stufft wrote:
I’d really like this change and I think that it makes sense. The only thing I’d change is that I think the | operator makes more sense than +. dicts are more like sets than they are like lists so a union operator makes more sense I think.
Maybe I'm just not steeped enough in CS, but when I want to combine two things together, my first reflex is always '+'. I suppose I could come around to '|', though -- it does ease the tension around the behavior of duplicate keys. -- ~Ethan~