...that their code is absolute shit?
First of all, he are young, right out of college with no practical programming experience. Honestly, I was against even hiring him but he's the friend of another coworker so it was like an automatic in. Anyway, he came to me for help with something not working so i said I'd take a look. The code is just a hot mess. So so much wrong with it. I'm surprised he ever got it to even run in the first place. I just wasted 90 minutes trying to fix things just so i could understand what he was doing...then I gave up without solving his original problem because I just don't have time for this. I have my own deadlines and my own problems.
So I messaged him back and said, "I need to step away from this for a bit, sorry I wasn't able to help." I went on to say that his problem that he came to me for, is probably in the multiple nested XHR (this is javascript) calls and the fact that he's repeated huge chunks of code instead of creating smaller reusable functions.
I feel like that was me being nice. I don't want to refactor his whole app (nor should I have too) but I honestly don't want him checking this clusterfuck into my project.
Thoughts?