Inheriting poorly programmed projects
Wasn't sure where to put this, so I picked the coffee lounge. Feel free to move it if there's a more appropriate location.
I've (reluctantly) inherited a very, very, *very* poorly programmed & very large project. If it was a horse, it would have been shot with a cannon. Or out of a cannon into space. Briefly, *some* issues:
Inconsistencies, bad practices, poor naming conventions, illogical code communication, binding of graphics & code (using custom MovieClip Base Classes), duplicated code, a complicated mixture of OOP & TimeLine Procedural programming, & inefficient use of elements by making them not dynamic - to say the least.
While I have to perform intermittent updates to it, I've also been tasked with writing up a document that explains how it works. But I don't KNOW how it works, it's a MESS!! When I have to work on it, it's basically just frustrating trial & error mixed with random guessing. Even during the hand-off meeting with the original developer, there was a lot of him saying "Umm, I don't really remember what that does, I'm not sure what this is, let's skip this part, & that part....".
I am by no means a newbie to Flash or programming, but I'm also led by managers who know ABSOLUTELY NOTHING about the web, let alone programming. I've tried to explain that explaining a crapFest such as this is impossible - not because it's beyond my skill level, but because it is just absolute & total garbage, & should be destroyed, or at least left alone & never touched again. But they just keep saying:
"We want you to explain it in case you leave & we hire someone new".
"I didn't build it & I don't really know how it works because it's horrendously developed."
"We want you to explain it in case you leave & we hire someone new".
"Wait, are you listening to me?!"
"We want you to explain it in case you leave & we hire someone new".
"Do you know ANYthing about programming?! How did you EVER get this job?!? You know it's not simple Point-&-Click, right? It's not a frickin' WYSIWYG! Wait, do you know what a WYSIWYG is?!"
"We want you to explain it in case you leave & we hire someone new".
It's like if someone who knew NOTHING about aeronautics built a Jumbo Jet with a complicated cockpit, then asked an experienced pilot to explain it to a sewer rat. No matter how experienced the pilot is, he's not going to be able to explain "made-up" crap to anyone, let alone understand it himself.
Here's what I feel like, represented by code:
Code:
private const APPLICATION_IS_CRAP:Boolean = true;
private function explainApplication():void
{
for (var i:int=0;i<1;i++)
{
if (APPLICATION_IS_CRAP == true)
{
tellManagerItIsCrap();
i--;
}
}
}
private function tellManagerItIsCrap():void
{
explainApplication();
}
explainApplication();
What can I do? Other than finding a job where people actually know what they're doing, how to manage, & how to trust their employees??
I suppose there is no answer, I just needed to vent. I should start looking for another job..... :(