Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Adding Empty Set Literals to Python. Parent comment
list() or []
dict() or {}
set() or ????
I would argue that the left is more pythonic and expressive.
I don't think any are more pythonic. They are all valid python.
list() or []
dict() or {}
set() or ????
I would argue that the left is more pythonic and expressive.