Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
orf
· 10y ago · 0 comments
Or just `names[name] += 1` if you're using a Counter.
Comments
[–]
ferrari8608
10y ago
Which would of course be the optimal solution. I always forget about that object.