Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

nkuitse (193)

  (email not shown publicly)

Journal of nkuitse (193)

Thursday February 13, 2003
01:40 PM

Hammers and nails

[ #10569 ]

When all you have is a hammer, everything looks like a nail.

Evidently, this can be generalized:

When you get a nice shiny new hammer, everything looks like a nail. Even the things you pounded on with the last shiny new hammer you got. And the one before that. And the one before that. And so on. Hammers and nails everywhere, and all so shiny and new!

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

My most recently acquired shiny new hammer is YAML . Earlier, it was XML. Now, entries in the lexicon for my invented language are going from something like this:

   <sg cat="noun">
   <sg cat="adj">
      <sg label="a">
         <xp>similar to gold in appearance</xp>
      <sg label="b">
         <xp>made of gold</xp>
</e> something like this:

   - noun: gold
   - adj:
      - a:
         - xp: similar to gold in appearance
         - gold
      - b:
         - xp: made of gold
         - golden

That's a mighty nice, shiny new hammer. And look! -- nails!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.