Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Performance Analysis of Python's Dict() and {}. Parent comment
> x
set()
Well now I know! However I still think the shared usage of curly braces for dicts and sets could be somewhat confusing.
> x = {1, 2, 3}
{1, 2, 3}
(But maybe no one should listen to me because I don't know how to do code blocks on HN.)
> x
set()
Well now I know! However I still think the shared usage of curly braces for dicts and sets could be somewhat confusing.
> x = {1, 2, 3}
> x
{1, 2, 3}
(But maybe no one should listen to me because I don't know how to do code blocks on HN.)