Never wait for the junior developer to ask questions.Junior developers often do not know that there is a question to be asked or that there are alternative options. For all they may know, they are doing everything exactly the way it should be done.
I think that senior developers have a responsibility to sit with the junior developer and have the junior developer walk them through their code, when they sense the junior developer struggling. The senior developer can ask them why they did a certain line of code, or suggest alternative methods, or give a line of thought.
It isn't just about being productive, it's about making sure everyone on the team is productive. It is also about everyone feeling good about what they are doing.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.