Mentoring junior developers

Status
Not open for further replies.
I'd like to gather some advice, tips, articles, books, rants, and war stories about successfully mentoring junior developers.

My last company had a lot of incredibly smart people, but we failed miserably at creating a good environment for the less experienced developers to grow and learn. Part of the problem was that we had all come so far since our days as junior developers that we forgot what it was like to be thrown in to a team full of very experienced and busy people without much in the way of guidance.

At my new job, I'm in a position to lay some groundwork for development processes, onboarding, and team building. By now I have a good handle on keeping things smooth in teams of experienced developers, but I want to be prepared to foster a good learning environment for any more junior developers we bring on board.


So what does your team do to mentor junior developers? What sort of mentoring would you like to see implemented?
 

Apteris

Ars Tribunus Angusticlavius
9,591
Subscriptor
In our rather informal system, new developers are assigned a mentor, whom they can and are encouraged to ask about anything they want. The dev in question has a per-sprint time allowance for mentoring.

Obviously, it's necessary for the mentor to be experienced and approachable, and for the team lead to back up the time expenditure.

We also have a number of on-boarding sessions where we teach new hires about our branching model, system architecture, DEV and TEST environments, and so on. They'll still have questions after these sessions, of course, but better ones.
 

motytrah

Ars Praefectus
3,084
Subscriptor++
[url=http:/civis/viewtopic.php?p=29858341#p29858341:3qkz1k4y said:
Horatio[/url]":3qkz1k4y]I like paired programming as a method of training. The rest of onboarding can be picked up by osmosis, IME.

I second this. And not just a single person. Get them pairing with a variety of programmers to get exposure. Including pairing with both new hires and experienced programmers.
 

hanser

Ars Legatus Legionis
43,852
Subscriptor++
We have a "buddy" program where all new hires (regardless of experience level) have a buddy whose job it is to help bring new people up to speed. For more experienced developers, this is showing them all the knobs, levers, and processes so they can be productive. And maybe some big-picture domain-specific stuff.

For new developers, the same things are true, but the buddy will spend more time on stuff like code reviews[1] just going over stuff that falls into the "programming in the real world" category, and the intricacies of the language and platform that you work with. (Senior devs already know how to operate in the real world, so code reviews for them are more domain-focused, and watching for non-idiomatic language usage if their background is with a different stack.)

A good mentor will try to figure out what learning styles new people like, and meet them there. (Some people like pair programming, some people don't. Some people like reading, some people like to be shown, etc.) For the mentor, their mentee has to be treated as a high priority by the organizational unit that they both work in. So for the person I'm mentoring, their needs are one step below a blocking production issue, and it's expected that I will spend a non-trivial part of my day mentoring him or her, and I'm given the space I need to spend that time.

A key thing is to pair junior people with people who were junior pretty recently. Don't pair them with principal engineers, because the principal will hate his/her life, and they'll be a less effective mentor. As a rule, we've found that mentors are best when they are one level away from the person they're mentoring. More than that is too much for both parties.


[1] All code is reviewed before merging, but newer developers often do things in a bone-headed way which makes their code review take longer, naturally, than a more experienced developer, which is why I specifically call it out for junior people.
 
D

Deleted member 43669

Guest
The most crucial aspect is that you need to devote time to it. It might sound idiotic, but when deadlines loom, we worry about efficiency and just need to go the extra mile, we quickly trim down these kinds of efforts.

Seniors need to pro-actively spend time with juniors- not wait until they come for help- whatever it is that they can do; code-review, pair programming, teaching sessions, etc., but just spend time with them.

On the other hand, one of the most effective teaching ways is failure. Ideally, if you can give juniors projects to work on which are not critical, but that will be used, they will be able to learn from their mistakes. To deploy your project, done your way and be able to see what works and what doesn't is terribly effective.
 
Status
Not open for further replies.