I'm a developer working alongside a young junior developer. Jimmy (not his real name) is reasonably astute, but always comes to me when he experiences minor obstacles. I understand, that nobody can be expected to know everything and needs help from more experienced people occasionally, but Jimmy is constantly distracting me with questions like "Why doesn't this work?", and if I reply "Have you run it through the debugger and found the line that's causing the exception?", He'll usually say "No, I thought you might know what's wrong" In short, he's coming to me as first resort rather than a last resort and this is taking up my time. He doesn't seem to get that experience doesn't mean you know everything, it means you're more able to figure out a solution. I've tried explaining this, but he is still giving up at the first hurdle. I want him to know that he can come to me for help, but he needs to really try to figure things for himself as much as possible. Any advice would be welcome.
in response to Pay, by junior, I mean a fully employed young adult who is inexperienced.
Muffin Man - You've highlighted my concern about not wanting to become unapproachable. It's important that he does seek my help with stuff he can't be expected to grasp. As a little bit of background, he recently made some changes that fixed one thing, but broke something else and could have been very costly if it hadn't been spotted by the testers. After this, I said I wanted to review his code before it's checked it in to main branch. This isn't a punitive measure but he may now be feeling wary of doing anything. I'm asking how to deal with him in a manner that will give him more confidence in his own abilities rather than less.