I work as a front-end developer, and have recently found myself in the position of mentoring and training a new junior front-end developer.
I'm relatively good at dealing with people on a personal level, but in terms of training and teaching good coding practices, I haven't really had to do this kind of thing before.
I thought it would be an interesting discussion in the Dev community, to find out what other people's experiences are with this kind of thing. As a developer, taking on a role that involves managing another person can be daunting. At the moment I find that I just want to be as helpful as possible. How do you start to transfer knowledge and experience that you've gained over years?
Here are a few questions that I'm curious to know:
What is the best piece of advice you were given as a junior developer?
Have you ever had a 'mentor' of some kind?
Do you have any preferred methods of teaching development work to another person?