DEV Community

Discussion on: Washing your code: avoid conditions

Collapse
 
falco467 profile image
falco467

In "deduplicating" I would even coerce it to a single line:

counts[url] = (counts[url]||0) + votes