Editing 801: Golden Hammer

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
{{w|Java (programming language)|Java}} is a programming language touted for its Portability™ (the ability for software to run on many different systems "write once, run everywhere"), 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 {{w|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 more effective to just write the control code in whatever language they used to port the JVM in the first place, or maybe even take the effort to design an {{w|ASIC}} that can drive the peripheral instead.
+
{{w|Java}} is a programming language touted for its Portability<sup>TM</sup>, 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 {{w|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 "{{w|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.
+
[[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." 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 {{w|Wolf Blitzer}}'s boathouse. Not-so-coincidentally, Black Hat is actually holding a pair of bolt-cutters and a mostly empty vodka bottle; the implication is that Black Hat ''did'', in fact, drunkenly break into 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 Blitzer's boathouse, an interpretation that fits Black Hat's warped and anarchic disposition. Most normal people would react with shock at what Black Hat has (allegedly) done, but Cueball, being either extremely jaded by the (mis)use of Java or simply desensitized to Black Hat's behaviour, can only bring himself to say that he's glad Black Hat's been having more fun than him.
+
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 {{w|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 just now entered the door at the start of the strip.
  
The title text implies that Black Hat had to break into a number of boathouses before he found Blitzer's, and that his boat did not survive the evening. The use of the phrase 'our night' allows us to infer that Black Hat was not alone when he broke into the boathouse ([[Danish]] would probably be his most likely partner in crime).
+
The title text further implies that the boat Black Hat stole did not survive. And that he may or may not have been with [[Danish]], his partner in crime.
  
 
==Transcript==
 
==Transcript==
:[Black Hat is going through a door, an almost-empty bottle in his hand. A voice speaks to him from off panel.]
+
:[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: Seriously? This thing runs ''Java?'' It's single-purpose hardware!
  
Line 23: Line 23:
 
: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.
 
: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 his hand that had been obscured in the first panel.]
+
:[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.
+
: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.
 
:Cueball: I'm glad ''you ''had a nice night.
  
Line 30: Line 30:
 
[[Category:Comics featuring Cueball]]
 
[[Category:Comics featuring Cueball]]
 
[[Category:Comics featuring Black Hat]]
 
[[Category:Comics featuring Black Hat]]
[[Category:Programming]]
 
 
[[Category:Language]]
 
[[Category:Language]]

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)