Metal Guitarist Forums banner
1 - 8 of 8 Posts

·
Mutes the Meat
Joined
·
10,236 Posts
Discussion Starter · #1 ·
We are learning about object oriented programming this week, and the instructor has told us get personal with microwaves. I'm amused.

If Door Switch State = Closed AND Microwave Emitter = On then Turn on Interior Light
If Time = 0:00 Sound Buzzer/Beep Three Times
If Open then Stop Microwave, Turn on Light
If Closed then Wait for Input from Control Panel
 

·
Party Röcker
Joined
·
1,372 Posts
You're not trying hard enough until you have haiku pseudocode.

Code:
If (loud infant)
    Fucking goddamn finally
        Years I have not slept
Code:
If (dry noodle cup)
    Oh it's party time
    Fire brigade arrives
Code:
If (have nothing else)
    Go out with bang, just because!
        Aluminum foil
Code:
While (waiting around)
    While (nobody is watching)
    Scratch your balls... why not?
Jeff
 

·
Registered
Joined
·
1,694 Posts
How about one that actually compiles?

A fish dinner:
Code:
use Carp;
unpack fish, spices;
croak fish if $alive;
study recipe, pop in, time;
BEGIN {meal};
tied %bib;
scalar fish;
fork, split;
sqrt lemon;
glob tartarsauce;
chop, open(MOUTH), chomp;
unlink flesh;
truncate bone, chomp;
untie %bib;
push plate;
END {meal};
sleep now;
 

·
M3 Aficionado
Joined
·
1,278 Posts
I still get a kick out of:

Q: Why did the Computer Programmer die in the shower?
A: He followed the directions: Rinse, Lather, Repeat​

Ray
 

·
Read Only
Joined
·
1 Posts
Code:
HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
    AWSUM THX
        VISIBLE FILE
    O NOES
        INVISIBLE "ERROR!"
KTHXBYE
 

·
Mutes the Meat
Joined
·
10,236 Posts
Discussion Starter · #7 ·
I must learn to program in lolspeak.
 

·
ɹǝqɯǝɯ ɹɐln&#38
Joined
·
5,486 Posts
10 REM I'M OLD SCHOOL AND DON'T KNOW SRS NEW PROGRAMS LANGUAGES
20 GOTO 10

RUN
 
1 - 8 of 8 Posts
Top