There was a dude who liked to write code

May 14th, 2011. Tagged: Fun
There was a dude who liked to write code
I dunno why he liked to write code
The code was Node(.js) code

There was a dude who wrote a lint tool
To check the code that he wrote - cool!
But I dunno why he liked to write code
The code was Node

There was a dude who wrote a unit test lib
So he can run tests (while chewing on a rib)
To catch any problems in his own lint tool
That checked the code that he wrote - cool!
But I dunno why he liked to write code
The code was Node

There was a dude who then wrote some tests
To catch bugs (and all sorts of pests)
In the code of the tool
that checked his code - cool.
Using ,oh sweet!,
His unit test suite.
But I dunno why he liked to write code
The code was Node
(And he never slowed.)

There was a dude who wrote code coverage tool
To test the tests that ran on the unit test mule
that tested the lint
that linted the code
I still dunno why he liked to write code
(yep, it was Node)

There was a dude who then wrote a verse
(It was pretty bad but could've been worse)
about the code coverage tool
that tested the tests
and the unit test thing
that tested the tool 
that lint'd the code
that he wrote in Node

There was dude who published a blog -
oh my, ain't that a bog.


    [--- code coverage tool ---]
       [-- unit test frwk ---]  
          [---  tests  ---]  
            [-- lint --]
              [ code ]  
            [----------]
          [---------------]  
       [---------------------]  
    [--------------------------]

For simplicity, skipped API @docs and their generation :)

The ... hm, source :)

Tell your friends about this post: Facebook, Twitter, Google+

Sorry, comments disabled and hidden due to excessive spam. Working on restoring the existing comments...

Meanwhile, hit me up on twitter @stoyanstefanov