A useful code idiom for conditionally doing the opposite of what you normally do (but an idiom that is sometimes confusing to look at).
Monthly Archives: March 2003
Why does javax.ejb.EnterpriseBean extends java.io.Serializable?
So, I was asked wtf javax.ejb.EnterpriseBean extends java.io.Serializable today. I have no idea! EnterpriseBean is the super-interface of EntityBean, MessageDrivenBean and SessionBean, so your bean-implementation classes are always serializable. Why is that necessary?
“It’s not a damn RIGHT-SHIFT, it’s two GT’s”: my fight with parsing Generic Java
So, JDK1.5 is going to have parameterised types (I’ve spoken about this before). Yippee! But writing a parser for the new syntax almost broke me.
Skipping and Seeking; strange Java API discrepancy of the day
Large files and light hearted nit-picking…
The first program I ever wrote myself
Reminiscing on the first program I ever wrote, pair programming, and modern IDEs.
Clovering Clover
Sometimes coding isn’t just about lines of code; it’s about bending your mind and bending it back again.
Todays googling and slashing
A closer googlewhack… Ivan was right, of course; my previous googlewhack was not a proper whack at all. And neither is this one; but it is a little closer (this was from the same day). Someone at MS paid money for this… Search for “java”, and get a Sponsored Link to MS VS .NET. (Sourced [...]
