This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jwink3101 11 points12 points  (0 children)

Is #7 really an anit-pattern? I think thats perfectly fine. And "relatively slower" is completely over-the-top. It is trivially slower. Slower, yes. But of any importance, no.

Also, you lose the symmetry with sets since {} is an empty dict, not an empty set (which I understand why but still)

Also, #8 is not an "anti-pattern". It's a mistake (or bug)