Archive for March, 2003

Code idiom: using logical ^ to change your mind

# 2003-03-26 16:22:41 -0500 | Java | 8 Comments

A useful code idiom for conditionally doing the opposite of what you normally do (but an idiom that is sometimes confusing to look at).

Why does javax.ejb.EnterpriseBean extends java.io.Serializable?

# 2003-03-26 14:48:29 -0500 | Java | 9 Comments

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

# 2003-03-19 21:52:05 -0500 | Java | No Comments

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

# 2003-03-18 16:57:40 -0500 | Java | 2 Comments

Large files and light hearted nit-picking…

The first program I ever wrote myself

# 2003-03-12 21:01:12 -0500 | Java | 1 Comment

Reminiscing on the first program I ever wrote, pair programming, and modern IDEs.

Clovering Clover

# 2003-03-11 13:22:48 -0500 | Java | 5 Comments

Sometimes coding isn’t just about lines of code; it’s about bending your mind and bending it back again.

Must have Java book: is Google

# 2003-03-07 10:48:15 -0500 | Java | 2 Comments

I had this chat with OJB the other day:

Todays googling and slashing

# 2003-03-03 17:16:58 -0500 | General | No Comments

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 by BPH.) Does a computer think you are dead? This is [...]