In Java you can only reference final fields inside a closure. Here’s my solution*.
Continue reading “Recursive Closures in Java”Month: May 2015
On Testing Candidates with Code Writing Tasks
Point 11 of the Joel Test asks: “Do new candidates write code during their interview?”
But how do you do that? I find most tips on the internet aren’t really helpful or realistic.
Continue reading “On Testing Candidates with Code Writing Tasks”
Misconceptions about Object.hashCode()
The given implementation for hashCode
is somewhat a mystery. Some misconceptions about it confuse students. I try to explain it. Continue reading “Misconceptions about Object.hashCode()”