801: Golden Hammer

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Golden Hammer
Took me five tries to find the right one, but I managed to salvage our night out--if not the boat--in the end.
Title text: Took me five tries to find the right one, but I managed to salvage our night out--if not the boat--in the end.

[edit] Explanation

Java is a programming language touted for its Portability™, which sometimes leads to it being used in systems where it really just shouldn't be used. Cueball laments that the hardware he's tinkering with, despite being used for a single purpose, has its firmware written in Java; since the microprocessor is unknown, it's quite possible the Java Virtual Machine (JVM) had to be ported over to the processor before the hardware designers could write firmware for it. Presumably, they considered this worthwhile to be able to write the control code in a language they're comfortable with, even though it probably would have been much simpler to just write the control code in whatever language they used to port the JVM in the first place.

Black Hat explains that this is really an example of an age-old adage: "When all you have is a hammer, everything looks like a nail", also referred to as the "law of the instrument" or, as in the title, the "golden hammer". The hardware developers probably only knew Java, and when they thought about how to write firmware for their new device, "Java" was the only solution that occurred to them.

Of course, instead of a hammer and a nail, Black Hat's analogy is about using bolt-cutters and vodka to get through the lock on Wolf Blitzer's boathouse. Not-so-coincidentally, Black Hat is holding a pair of bolt-cutters and a bottle of vodka. The implication is that Black Hat did, in fact, break into Wolf Blitzer's boathouse the previous night, which is why he has just now entered the door at the start of the strip. The changes he makes to the adage implies that he believes vodka and boltcutters are designed specifically to be used on Wolf Blitzer's boathouse, an interpretation that fits Black Hat's warped and anarchic disposition. Cueball however, being extremely jaded by the (mis)use of Java, can only bring himself to tell that he's glad that he(Black Hat) had a nice night.

The title text implies that Black Hat had to break into a number of boathouses before he found Wolf's, and that his boat did not survive the evening. The use of the phrase 'our night' allows us to infer that Black Hat may have been with Danish, his partner in crime.

[edit] Transcript

[Black Hat is going through a door, a bottle in his hand. A voice speaks to him from off panel.]
Cueball: Seriously? This thing runs Java? It's single-purpose hardware!
[Cueball is sitting at a computer, holding some device which is wired to a box, and pointing at the screen.]
Cueball: I bet they actually hired someone to spend six months porting this JVM so they could write their 20 lines of code in a familiar setting.
[Black Hat has a pair of bolt cutters in the hand that had been obscured in the first panel.]
Black Hat: Well, you know what they say— When all you have is a pair of bolt cutters and a bottle of vodka, everything looks like the lock on the door of Wolf Blitzer's boathouse.
Cueball: I'm glad you had a nice night.

comment.png add a comment! ⋅ comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!


What is the title referencing? 05:25, 12 December 2013 (UTC)

Isn't that one of the original intents of Java, that is embedded systems? Presumably Java does run in several PLC type devices, but I have no first had account on this; Java certainly is not popular or common there. I checked the Wikipedia page and smart TV's were mentioned, this for 1991. 21:49, 12 December 2014 (UTC)

Not all embedded systems are single-purpose hardware. Smart TVs use Java, so other developers can also easily create additional applications for them. Condor70 (talk) 12:40, 15 July 2015 (UTC)

Does anybody know why Randall choose Wolf Blitzer for this comic? Does he have some relation to boats? Condor70 (talk) 12:40, 15 July 2015 (UTC)

Presumably Randall knows, though it could be something as simple as "He's wealthy enough to have a boat and most people would know who he is". -Pennpenn 06:39, 30 September 2015 (UTC)
Personal tools


It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal?