Hacker News new | ask | show | jobs
by thayne 296 days ago
That article is about how defaults for arguments are evaluated eagerly. It doesn't real have to do with dict vs {}.

However, using the literal syntax does seem to be more efficient. So that is an argument for having dedicated syntax for an empty set.

1 comments

I am not replying to the article but to the poster.
I am talking about the article you linked to in your comment.