Films in code

Films in code

By Luke on August 4, 2011

Back to the future logo

We must be in a funny mood today at SEO Creative. Sadie sent us a very geeky “coding” joke from back to the future, courtesy of life in code. You can see it below:

Back to the future

if ($speed>88) {
  $flux_capacitor = “active”;
  $date = new DateTime();
  $date->setDate(1955,11,5);
}

This is quite similar to a songs in code blog post we did a while back. No doubt the more geeky types out there will be making a few more film based versions of this, so we thought we’d get in there first with a few of our own!

The Terminator

if(Date.getYear() <= 1984 && person.name == "Sarah Connor"){   person.delete(); }

The Matrix

if(redPill == true){
  enterMatrix();
}
else {
  Memory.deleteCache();
  break();
}

Star Wars

theForce.Jedi.attributes(“patience”,”discipline”,”humility”,”peace”);
theForce.Sith.attributes(“fear”,”anger”,”hate”,”selfishness”,”lust”);

Fight Club

rulesArray = new Array();
rulesArray.push(“You do not talk about FIGHT CLUB.”);
rulesArray.push(“You DO NOT talk about FIGHT CLUB.”);
rulesArray.push(“If someone says “stop” or goes limp, taps out the fight is over.”);
rulesArray.push(“Only two guys to a fight.”);
rulesArray.push(“One fight at a time.”);
rulesArray.push(“No shirts, no shoes.”);
rulesArray.push(“Fights will go on as long as they have to.”);
rulesArray.push(“If this is your first night at FIGHT CLUB, you HAVE to fight.”);

Okay, so that should firmly cement us in the “GEEK” category! Enjoy, and feel free to post your own!