RSS

PHP: Real Life Constructor

Mi, Sep 24, 2008

PHP, Programmierung, Troll-Ecke, Witziges

I’ll post this in my nearly perfect english because, this goes to all readers worldwide. I got a short thought about the following thing:

When I’m working on a project, I don’t think about that what I’m doing very well – I just do it, I simply code it. Therefore my code seems the biggest codesmell you’ve ever seen ;)

But my intention of this post was, to tell you about the thoughts which I engross.

It is about female coders :) . When a women wrotes new code… it’s some like that:

WOMEN CODE


/**
We create a new Person...
**/

$p = new Person();

/**
@SORRY:
I CAN'T CONTINUE
I DON'T KNOW ANYTHING ABOUT THIS PERSON. MALE OR FEMALE?
DOES HE/SHE LOOK MY FAVORITE SERIES? DOES HE/SHE KNOW
WHO GEORGE CLOONEY IS? WHICH PERSONAL CIRCUMSTANCES
DOES HE/SHE HAVE, WHICH MUSIC, WHICH HISTORY HAS (S)HE
AND WHAT IS ALL THIS CODE ABOUT TO CREATE THIS PERSON???? 

LOOK ... THIS CONSTRUCTOR HAS TOO MANY UNANSWERED QUESTIONS.
**/

if ($p) unset($p); 

// LOOK FOR ANOTHER CLASS WHICH MAY FULLFILL YOUR WISHES! 

// There are other Classes, let us try new Singleton() therefore 

Popularity: 22% [?]

Gleich bookmarken:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkArena
  • Live
  • MisterWong.DE
  • BlinkList
  • Furl
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb

Werbung:


, , , , , , ,

This post was written by:

Ronny - who has written 346 posts on Ronny’s Blog.


Contact the author

2 Comments For This Post

  1. Bascht (5 comments) Says:

    *hehe*

    Um das mal auf die Spitze zu treiben: http://pastie.org/278925

  2. Ronny (59 comments) Says:

    Hehe … auch geil :D

Leave a Reply

You can add images to your comment by clicking here.