Monthly Archives: October 2007
Nursery Rhyme Code Poem [JavaScript]
(function() { function BlindMouse() {} BlindMouse.prototype.tail = true; BlindMouse.prototype.run = function(after) {}; function Mice(mouse1, mouse2, mouse3) { this.mice = []; this.mice.push(mouse1, mouse2, mouse3); this.declare = function() { return this.mice.length + ' Blind Mice'; }; this.run = function(after) { for(var j=0,k=this.mice.length;j<k ;j++) { this.mice[j].run(after); } }; this.cutOff = function(prop, weapon) { for(var j=0,k=this.mice.length;j<k;j++) { this.mice[j][prop] [...]
Posted in Artistic, JavaScript Tagged Code Poem, Nursery Rhymes
Nursery Rhyme Code Poem [PHP]
< ?php class I { public __construct() { $star = new Star(); $star->size = 'little'; $star->twinkle(); $star->twinkle(); self::wonder($star, 'What are you?'); $world = new World(); $world->elevation = 'So High'; $star->setAbove($world); $d = new Diamond(); $d->position = 'In the sky'; $star->setLike($d); $star->twinkle(); $star->twinkle(); $star->size; // returns 'little' self::wonder($star, 'What are you?'); [...]
Posted in Artistic, PHP Tagged Code Poem, Nursery Rhymes
Why Do Fame-Based Bloggers Act Like Children?
Normally this blog is about JavaScript and front-end engineering, but today I’m going to play my once per six month rant-card and go on for a bit, so please bear with me. You can read my last rant-card here. Ever open up your RSS reader only to be greeted with a collection of posts that [...]


Nursery Rhyme Code Poem [CSS]