More Than Nothing

“You mean you can't take less; it's very easy to take more than nothing.”

Archive for the ‘Java’ Category

If it’s not threadsafe, just don’t try

Posted on November 1, 2011 by [ICR] under Java

I recently got burnt by this at work. Even though I knew HashMap isn’t threadsafe it was apparently working and rewriting to not use HashMap was work I didn’t have time for now and was scheduled for later. It appeared to be working because, whenever I printed out all the keys and values in the [...]

1 Comment | Read the rest of this entry »