Posted on December 6, 2006
What code DOESN’T do in real life (That it does in the movies)
I saw this on Digg, and almost died laughing out loud (In the middle of Networking Class) when I read it.Â If you have ever done any coding before Im sure you will find the humor in this story.Â Check HERE for the original link.
What code DOESN’T do in real life (that it does in the movies)Matt craps on a bunch of ridiculous ideas about programming and code that Hollywood can’t seem to stay away from. Following up our article: Top 20 Hackers in Film History and Vibrant’s Top 10 Servers in the movies, I felt obligated to dispel some of the notions about programming that these movies endorse.Â I understand that Hollywood needs to dress things up to make them more entertaining, but in the case of programmers, code, and hackers they’ve done more than dress things upÂ – they’ve morphed a little stuffed teddy bear into a cybernetic polar bear covered in christmas lights and phosphorescent hieroglyphics with a fog machine pumping rainbow smoke out of his ass. Â In other words, they’ve layered a ridiculous amount of extravagance on top of something that in reality is very grounded.
1. Code does not move
In films and television code is always sailing across the screen at incredible speeds; it’s presented as an indecipherable stream of letters and numbers that make perfect sense to the programmer but dumbfound everyone else.Â I understand that to the non-savvy person the abilities of a programmer might seem amazingly complex, but do they honestly think we can read shit that isn’t sitting still?Â It’d be like trying to read six newspapers flying around in a tornado.Â Â Sure, I can watch a kernel compile, tail a log file, or simply monitor the scrolling output of a program – but the most value I get out of those activities is when execution stops and I can actually scroll back to read what the hell happened (unless the output was going slow enough I could read it as it happened).
2. Code is not green text on a black background
Sure, code can be green text on a black background if you want it to, but most programmers use syntax highlighting and sysadmins configure their shell to use ANSI color.
3. Code has structure
According to the movies all programmers abhor the space bar and enter key.Â In the real world code has structure – it’s got line breaks, spacing, and indentation.Â Granted, we’ve all written our share of unreadable hacks: I used to write a lot of perl and I had a knack for writing nasty regular expressions that moved many of my successors to committing seppuku, but those days are over.Â It’s all about clarity now.
4. Code is not three dimensional
Remember in “hackers” when the gibson is depicted as a three dimensional city that the hackers must navigate through? Bullshit! We may use a dash of color in our shell to make things a bit clearer, but last I checked my terminal app doesn’t require OpenGL.Â Â I’m working here, bitches – I’m not playing quake.
5. Code does not make blip noises as it appears on the screen
This goes for ANY text, not just code.Â Â When text appears on my monitor it doesn’t make blip sounds – this isn’t 1902 (or whenever monitors used to do that).
This is one of the most common offenses in Hollywood films, almost every movie that has a scene where a character is composing an email or surfing the net has the text make blippity-blip sounds as it appears.Â Do they have any idea how fucking irritating that would be in real life?Â Â Â This article alone would be like thirty thousand blippity-blips.
6. Code cannot be cracked by an 8 year old kid in a matter of seconds
Sorry, no.Â Just no.
7. Not all code is meant to be cracked
Hollywood loves to endorse the notion that programming, encryption, and complex computing in general are all the same thing: a jumble of secretive data that must be broken by a seriously (srsly!) clever hacker.Â This is somewhat understandable because the term “code” itself is ambigious.Â In the realm of computing, code typically has two definitions:
- The symbolic arrangement of instructions that a computer can understand – like “Your PHP code is shit”
- The disguised transformation of a message – “The Navajo code talkers in WWII”
Hollywood usually applies #2 to all of a programmer’s computing activities.Â There are no windows to drag, no enclosing brackets or IF statements, there’s no desktop.Â Everything on the computer takes the form of an encrypted message, which must make looking at hot steamy pr0n a real bitch (md5 makes me flaccid).
8. Code isn’t just 0100110 010101 10100 011
Sure, when you get down to the binary level it’s a bunch of 1’s and 0’s, but who does that?Â I’ve never met anyone who codes binary.
Hey Hollywood directors: programmers use this neat thing called the ALPHABET.Â It’s got letters that you put together to form words.Â We even put spaces between those words (see #3).
Also, the whole joke about everything on a computer being just a bunch of 1’s and 0’s has become painfully not funny.Â It ranks right up there with the joke about the user who uses his cdrom tray as a cupholder, I’m pretty sure I’d heard that joke a thousand times by 1997.Â Â Just because all data on a computer is ultimately represented by one or a zero doesn’t mean that the basis behind it is as simple as a one or a zero.Â That’s like saying all humanity ultimately boils down to a bunch of carbon atoms (or whatever the hell we’re made of), so the next time someone steals my car I can laugh it off and say “Oh those silly carbon atoms!”
9. People who write code use mice
According to Hollywood most programmers haven’t discovered how to use a mouse.Â Â Sure, we type fast, but a mouse is a very useful tool and there’s no reason we’d abandon it.Â While we’re dispelling stereotypes, I’d also like to say that not all programmers are hot-pocket eating virgins who play WoW.Â Some of us exercise and have active social lives.Â Some have even had SEX! Holy Crap!
10. Most code is not inherently cross platform
Remember in Independence Day when whatshisface-math-guy writes a virus that works on both his apple laptop AND an alien mothership?Â Bullshit!
If real life were like film I’d be able to port wordpress to my toaster using a cat5 cable and a bag of glitter.
Any others you can think of?
You might want to continue reading through the comments on Drivl as well as on the original article over on digg.Â A bunch of programmers have a great time with this one…can you think of anything to add?