So I'm a senior at top 10 engineering university and since January I have been working as lead webdev on a large, sponsor/government-funded project. I've done everything from focus groups, usability studies, surveys and have been creating a top-notch site.
I was away for two weeks in the time between summer semester's end and the beginning of fall semester and got an email from my manager saying essentially "hey, I've been working with someone else on the site". What was created from that was a complete bastardization of the design and was all new code. I had lots of PHP for general ease of dev and the new guy did all 50+ files in html.
Fast-forward to yesterday, new guy won't be working on it anymore and my manager wants me to take over. I've looked at this guy's code and it's a horrible mess - I want nothing of it. Deadline is in about a week.
Going back to my code is an equally large task as he had been adding other pages, content and "design features".
What would you do? I'm sure I am not the only one that has had this problem.
2. What is your extended stake in the project (manager have lots of connections? Is this industry leading and highly visible?)
3. What are the chances you will succeed if you start work again?
Based on the answers to these three questions (which I know will be difficult to obtain) you should make one of the following choices:
1. Politely refuse to work on the project, saying you've committed to other things and do not want to over-extend yourself.
2. Bite the bullet and fix the project based either on you code or the current mess. (and shut up about things until you're done) Walk away once released.
3. Perform some type of negotiations with the manager: (e.g. extend the deadline (all deadlines can be extended), limit the scope of the release, limit the expectations of you) and schedule a post-release evaluation of the project and your role in it.