Skip to navigation

The Duh/Wince Code

An ActionScript Freudian slip from today’s coding:

gotoAndStrop('failure');

A comment left for posterity a while back:

/* ---------------------
This is the messiest code I've ever produced.
But that doesn't matter, as it's clearly been spec'd as
a quick'n'dirty throwaway project that'll never be reused.

If you're reading this, that's been disregarded.
Quit your job, leave the country, fake your death,
whatever it takes to avoid working on this file.
--------------------- */

I nearly put this into a recent project (it would’ve actually made sense in context, honest guv):

if (!predator._visible) gameOver.man.gameOver();

Filed under: Client-side Coding, Daftness, Games and Multimedia


Comments


Comments are now closed for this entry.

Malevolent Design Weblog

Matt Round’s company blog, covering web development, media, technology and pretty much anything else.

Blatant self-promotion

Web Sites
Good-looking, effective, accessible sites.
Multimedia
Logos, Flash games, animation and illustration.
Advice
Help with strategy, planning and getting noticed.