Movies as code - Free your coding mind...

"Unfortunately, no one can be told what the Matrix is. You have to see it for yourself."

Morpheus, The Matrix

March 26, 2012 | Comedy | submitted by ushi

Four Rooms

from fourrooms import Eva, Siegfried, Antonio, Norman, Ted, Crystal

def honeymoon(bellboy):
    bellboy.have_crazy_sex_with(Eva())
    return room_404(bellboy)

def room_404(bellboy):
    bellboy.stumble_into_another_weird_sex_situation_with(Siegfried())
    return room_309(bellboy)

def room_309(bellboy):
    bellboy.find_a_dead_prostitue_and_be_afraid_of(Antonio())
    return penthouse(bellboy)

def penthouse(bellboy):
    if bellboy.drink_some(Crystal()) and bellboy.chop_off_a_finger_from(Norman()):
        return 1000
    return 100

happy_new_year = honeymoon(Ted())
Vote up this code0

| Thriller | submitted by

The Shining


$Wendy = true;
while ($Wendy) {
echo "All work and no play makes Jack a dull boy";
}
?>
Vote up this code1

March 25, 2012 | Action | submitted by pDonor

Mad Max

#define MAX(a,b) ((rand()%2)?(a):(b))
Vote up this code1

| Family | submitted by pDonor

Free Willy

#include
typedef orca char
int main()
{
orca *Willy=(orca*)malloc(sizeof(orca));
*Willy = '1';
free(Willy);
}
Vote up this code0

| Comedy | submitted by Mate

Yes Man

bool answer()
{
return YES;
}
Vote up this code3

| Documentary | submitted by sedthh

Amadeus

onClipEvent(load){
    salieri = new Sound(this);
    salieri.attachSound("requiem");
    salieri.start(0, 99);
    //_root.mozartLaughing.play();
    _root.godLaughing.play();
}
Vote up this code0

| War | submitted by sedthh

Full Metal Jacket

Vote up this code0

| Adventure | submitted by sedthh

Adventure Time

//what time is it?
date('Y-m-d', strtotime($adventure));
Vote up this code0

| Comedy | submitted by sedthh

Monty Python’s Flying Circus

Random now = new Random( completelyDifferent );
Vote up this code1

| Documentary | submitted by sedthh

Schindler’s List

LinkedList Schindlers = new LinkedList();
Vote up this code2