Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
scarboy
on June 4, 2013
|
parent
|
context
|
favorite
| on:
Replacing Clever Code with Unremarkable Code in Go
You should be using map[T]struct{} for sets instead of bool. struct{}s use 0 bytes and there will be no confusion as to what the value is for.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: