Programming the LOL!1 way

neingeist <neingeist@entropia.de>

Endropia



Creative Commons License
Licensed under a Creative Commons Attribution 2.0 Germany License
Made with S5 by Eric A. Meyer
-->

WTF?

HISTERY?


I CAN HAS CHEEZBURGER

IZ @ ICANHASCHEEZBURGER.COM
AWSUM LOL!

HAI WORLD!

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

LOOPZ, KTHX

HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
  UP VAR!!1
  VISIBLE VAR
  IZ VAR BIGGER THAN 10? KTHXBYE
IM OUTTA YR LOOP
KTHXBYE

U CAN HAS INPUT!


HAI
   CAN HAS STDIO?
   I HAS A VAR
   GIMMEH VAR
   VISIBLE "U SAID " N VAR N " !!"
KTHXBYE

U CAN HAS ERRORZ

HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
  AWSUM THX
    VISIBLE FILE
  O NOES
    INVISIBLE "ERROR!"
KTHXBYE

CAN I HAS CLASSEZ? PLZ.

BTW I am going to define a class called 
BTW 'pokemans'
HAI
LET ME SHOW U MY pokemans

  BTW This is a class variable
  THEY HAVE A VAR IT IS CALLED awsumness
  BTW This is an instance variable
  IT HAS A VAR IT IS CALLED height
  BTW This is an example of a typed
  IT HAS A pokeman IT IS ITS friend

CAN I HAS CLASSEZ? PLZ.

  BTW --------------------------------------
  BTW Here's how we define LOLMETHODS

  IT CAN eat UR pokeman WATCH
    BTW Here a pokeman is passed in as an argument
    BTW and this instance check to see if it can be eaten
    CAN I EAT UR pokeman
      AWSUM THX
       LET ME eat UR pokeman
      O NOES
       I NO WANT pokeman
       BTW ... and return it back to you
       HAVE UR STOOPID pokeman BACK
    KTHX
  KTHX

CAN I HAS CLASSEZ? PLZ.


  BTW --------------------------------------
  BTW Here's a class method

  ALL MY pokemans CAN help UR teem WATCH
   BTW Just for demonstration, we'll see if
   BTW the passed 'teem' has a method on it's class
   BTW the 'ALL OF' indicates the 'class of' 
   CAN I hit ALL OF UR teem
    AWSUM THX
      LET ME hit ALL OF UR teem
    O NOES
      I NO WANT teem
    KTHXBYE
   HAVE UR STOOPID teem BACK
  KTHX

KTHX
KTHXBYE

CAN I HAS CLASSEZ? PLZ.

  HAI
  CAN HAS STDIO?
  I HAS A pokeman ITS NAME IS pikachu
  I HAS A pokeman ITS NAME IS evilpikachu
  LET MY evilpikachu eat UR pikachu
  KTHXBYE

COMPILERZ

O RLY BUK!

SENDZ TO:
neingeist @ entropia
AWSUM THX.

CAN HAS $FEATR?

ON THE INTARWEB.

FINISH.