Monthly Archives: October 2007

Nursery Rhyme Code Poem [CSS]

Code Poems are fun! The trick is to take a nursery rhyme (but really, it could be any commonplace work of writing – Famous Speeches, Bible Verses, Famous Quotes, etc.), and then turn it into pseudocode. The code must follow both the programming or markup language you’re using and the rhyme as closely as possible. [...]
Posted in Artistic, CSS | Tagged , |

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 , |

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 , |

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 [...]
Posted in Artistic, Reviews | Tagged , , , |