Giantpaper.org

Tag: php

  • Dreaming in…PHP?

    Anyone ever get really tired and nod off and these random dream-like thoughts enter your mind? That happened to me today.

    My entire “dream” was a poem about a heron with a long gray beak. And it was entirely in PHP. XP It was sort of object-oriented programming-like (since I’m just starting to play around with OOP). It went something like this:

    var $heron;
    $heron->grayBeak;

    If it really were object-oriented programming, wouldn’t it be more like:

    $heron = new Heron();
    $heron->grayBeak();

    There were more lines describing more characteristics of the heron. And there was another heron, who was introduced like:

    var $heron2;