Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on PEP 584 – Add + and – operators to the built-in dict class. Parent comment
FWIW, I'm usually using map[T]bool and only ever inserting `true` values. It uses a bit more space, but membership checks read like
if set[key] {
if _, ok := set[key]; ok {
There are no comments on this comment yet.
FWIW, I'm usually using map[T]bool and only ever inserting `true` values. It uses a bit more space, but membership checks read like
instead of