I had another guy who was in this situation that you describe above. He actually used to be my boss before I became his.
Made more than me. His code was crazy bad. I mean I think he used to obfuscate it on purpose so as to keep his job. Every class was a friend of another class. But the code would work. It was a nightmare to maintain.
I was asked by senior management several times to get rid of him. I just kept thinking of his kids. I knew I couldnt live with myself if I did it. Because his intent was always good and he would do work that no one else wanted to do.
If I had to keep him for another year, I might have pulled the trigger - but I doubt it.
If it was my own startup I would have fired him immediately. You probably did the right thing.
Made more than me. His code was crazy bad. I mean I think he used to obfuscate it on purpose so as to keep his job. Every class was a friend of another class. But the code would work. It was a nightmare to maintain.
I was asked by senior management several times to get rid of him. I just kept thinking of his kids. I knew I couldnt live with myself if I did it. Because his intent was always good and he would do work that no one else wanted to do.
If I had to keep him for another year, I might have pulled the trigger - but I doubt it.
If it was my own startup I would have fired him immediately. You probably did the right thing.