Oh man, I'm just so fed up with this one project I've had dumped on me. I hope I never again see the guy who 'wrote' this code and then abandonded it for me to maintain. Christ.
It's actionscript. There's this object, and it's on the screen 120 times. Fair enough, only he hasn't got the same object instantiated 120 times has he? Oh no. That'd make too much sense. There's 12 seperate copies of the a class that contains 10 frames each of which contains 10 copies of that object.
What?
And each frame has some code. Almost exactly the same as the rest of the code, but with just ONE NUMBER changes.
That's right. To fix some bug this week I had to make the same tiny change to A HUNDRED AND TWENTY copies of the same basic function.
I feel dirty.
< Arithmetic failure | BBC White season: 'Rivers of Blood' > |