Unworkable project
- Shell scripts doing ANYTHING mission critical: check.
- Functions more than a page long: check.
- Codebase existing more than 10 years: check.
"I'm sorry, I'm afraid the cancer has spread throughout its entire body. There's nothing we can do for it anymore." - Doctor Nypyren
Why not look for a new job while you're still employed and bail out the moment you find one?
Why not look for a new job while you're still employed and bail out the moment you find one?
I didn't think of that. Actually a really good idea. Thanks.
Also, if you quit, make sure to give a couple week's notice (or whatever's required by law, if you have a law which covers this). I quit one of my summer jobs at a grocery chain once without notice and they blacklisted me from ever working there again.
Just don't let anyone at your current job know you're searching. They aren't too happy if they find out.
They'd be furious and probably lose the client. (The contract says 4 weeks notice btw). Still, it's my sanity vs the loyalty.
How feasible is it to start to rewrite the functions one at a time ?
I'd personally hit the "delete" button and blame a system glitch ...
In general I agree with getting out of there. Having said that, I wouldn't skip out too soon just for the sake of your reputation. Give it a few months.
In the mean time, do what you can do to improve your situation. Some examples:
- Document code as you go.
- Document business processes as you go.
- Split large methods to be smaller and easier to read.
- Write unit tests to ensure you don't break anything.
- Over-estimate quotes to make the time to do this.
Also remember to paper-trail everything - if a change seems risky, email them with concerns and questions and make them make the call. Make it clear that the project is difficult and dangerous. Suggest measures to limit risk, e.g. disaster recovery, backups, staging servers, QA protocols, source control everything.
How feasible is it to start to rewrite the functions one at a time ?
I'd personally hit the "delete" button and blame a system glitch ...
In general I agree with getting out of there. Having said that, I wouldn't skip out too soon just for the sake of your reputation. Give it a few months.
In the mean time, do what you can do to improve your situation. Some examples:Document code as you go.Document business processes as you go.
The existing documentation is actually pretty decent. The system is a horror, but the docs are ironically much better.
I'd personally hit the "delete" button and blame a system glitch ...
That might actually work if they don't use version control and everyone is gullible enough. Not hard to imagine considering the circumstances, but it's a stupid move.