Thursday, March 15, 2012

Little things

You know who’s a smart feller? Whomever had HashMap.put() return the previous value.

Sunday, March 11, 2012

Tender loving care

Show your users that you care. Don’t give them this “You have 1 unlocks available.” Type a few extra characters.

string + ((isPlural) ? “s” : “”)

Bam.