What happens when you cast null to an exception type, then throw it? →
April 2003
28
Apr
2003
The only place where it is acceptable to swallow exceptions is in the first case: if the throwing of the exception means absolutely nothing to your application, that's the only time you can ignore it. If you're going to be swallowing an exception, have the courage to swallow it silently. If you can't muster that courage, if you have one of those guilty pangs every time you see an empty catch block, it's a good sign that swallowing the exception was the wrong thing to do in the first place. →
26
Apr
2003
Classic Testing Mistakes by Brian Marick dates back to 1997, but this is the first time I've read it. It's a very good, common-sense guide to software testing. →
26
Apr
2003
In Java at least, an object's type represents three different things: (a) The messages that the object will respond to. This defines the object's interface. (b) The code that the object will use to respond to these messages. This defines the object's implementation. (c) An attribute of the object, of type Class. Sometimes, people get stuck on the third one, and give it far more importance than is really necessary. →
22
Apr
2003
In a previous post, I noted Paul Graham had described Java as an "evolutionary dead-end". After a lot of thinking about what this means, I've come to the conclusion that it's not really such a bad thing for Java to be. After all, the crocodile is an evolutionary dead-end too, but we don't hold that against it. →
14
Apr
2003
Standard has to be one of the most over-used terms these days. Technologies compete against each other, and get into slanging matches over who is the most "standard". The term is meaningless. →
14
Apr
2003
Ned Batchelder pointed to The Memory Management Glossary, which is (as would be expected) a glossary of terms applicable to memory management. I'm linking to it because I just know it's the sort of thing I'll want to be able to find in the future, and if I don't write it down, I'll forget. →
13
Apr
2003
I brought the fish and chips home, and sat on the floor eating them with my fingers. The fish was quite greasy, so for a while I wished that I had a knife and fork instead. →
11
Apr
2003
To save you following the link, the Prevalent Hypothesis is (direct quote) "That there is enough RAM to hold all business objects in your system." That's right. Users of Prevayler don't have to worry about there being enough RAM because... we assume there will always be enough RAM! →
11
Apr
2003
I was thinking of writing something longer than a blog-entry. Anyway, to do this, I must pick a format. I want an open format, naturally, but I also want to be able to publish to both PDF and HTML. I want the PDF to look professional, but I don't want the HTML to look like ass. Which leaves me in a bit of a bind. →
11
Apr
2003
The quality of a web-host is measured by how little you notice they exist, and in the six months I've been running The Fishbowl on their service, I've noticed them precisely once. That's a pretty good record by any account. Good work, AVS. →
8
Apr
2003
One tenet of predictability is that when you make identical queries against identical sets of data, the results should also be identical. In queries that return multiple responses, this includes the order in which the data is returned. →
8
Apr
2003
I, of course, haven't been deleting the junk messages, I've been moving them into a storage folder. I am willing to assume this is what's been confusing the filter into wondering what is spam, and what isn't. →
8
Apr
2003
A host is a host, from coast to coast / and everyone talks to a host that's close /
unless of course, the host that's close / is busy, hung or dead. →
6
Apr
2003
One of the big selling-points for Apple's Mail application in OS X is the adaptive spam filter. Reviewers have gone wild praising how wonderful it is, and how it gets rid of 95% of their spam. In my experience, it has been catching about one fifth of the junk, and letting 80% through. →
5
Apr
2003
The artist occasionally known as Urban_Dragon drew this the other day and sent it to me. It's really neat. Thanks Urb. :) →
3
Apr
2003
Written, by me, in an IM to a cow orker: "It's one of my better ideas. Although I still think the one about putting saddles on sheep has merit." →
2
Apr
2003
I'm engaged in a running battle with my father over web services. He believes in them. I don't. I admit I'm young, but I've never seen a computing revolution imposed from above. →