JDK 7 almost there, but still far not reaching the goal

It’s nice that JDK 7 includes new ”try (…) { … }” construct, but *WHY*, oh, *WHY*, they managed to fail on implementing it in usable manner. To put it shortly, problem is described here: Detect exception in AutoCloseable close() Thus they implemented logic which allows doing automatic close(), but API doesn’t this logic anyway…

Read more

Is it possible to do O-O in java

So question is: Is it possible to do Object Oriented Programming in java? This presentation gave some insights into issue. Jumping into conclusion fast: yes, it’s possible if being careful, and always using interfaces. This part ”always using interfaces” is interesting, since that’s anyway something what I’ve always considered to be good way of doing…

Read more