Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on New in Go 1.20: wrapping multiple errors. Parent comment
_, present = m[k]
A common alternative is m[string]bool, memory density is worse but contains/add/remove are easier to read and more convenient.
There are no comments on this comment yet.
A common alternative is m[string]bool, memory density is worse but contains/add/remove are easier to read and more convenient.