We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies.

We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies. Less

We use cookies and other tracking technologies... More

Login or register
to apply for this job!

Login or register
to publish this job!

Login or register
to save this job!

Login or register
to save interesting jobs!

Login or register
to get access to all your job applications!

Login or register to start contributing with an article!

Login or register
to see more jobs from this company!

Login or register
to boost this post!

Show some love to the author of this blog by giving their post some rocket fuel 🚀.

Login or register to search for your ideal job!

Login or register to start working on this issue!

Login or register
to save articles!

Engineers who find a new job through WorksHub average a 15% increase in salary 🚀

Blog hero image

How To Be A Good Software Engineer Mentor

Milecia McG 19 August, 2019 | 4 min read

Mentoring is one of the best ways to help junior developers grow their skills. As a mid-level or senior developer, it's up to you to decide what kind of mentor you want to be. The most important thing to keep in mind as a mentor is that it's not about you. It's not about your experience or how eloquently you can write code.

Sign up to WorksHub to join our community of talented developers sharing insights and discovering jobs and opportunities

Your goal as a mentor should be to help the junior dev understand more than code. They can read about that. You need to show them the other things that you only get from experience. Here are a few things you can do to be a good web developer mentor.

Explain the business side and their decisions

Writing code usually isn't the hard part. The hard part can be understanding what the business side wants. When you have a meeting with clients or product managers, have your junior dev sit in or take a few minutes afterwards to explain what happened. They need to know where their tasks come from and how they get created. Helping them understand the business side gives them more context as they work through tasks.

Also make sure you cover the business logic as they dive into their tasks. Explain how the application currently works with a quick demo. That way they know how to get to certain screens or why we handle user input particular ways. A brief overview of the decisions that went into the functionality of the app will always help junior devs learn how to understand applications as a whole instead of just the code.

Talk about why we write code a certain way during code reviews

A good code review covers best practices regardless of the developer's experience level. With junior developers in particular, you never want to skip this. If you see something they did that works but it's written poorly, walk them through the best practices so they know how to write better code next time. Also explain to them some of the code decisions made by the team. It helps give them perspective on how applications grow and reach their current states.

This is a great time to decode the jargon we use. As you talk through best practices and code stuff in general, define the jargon you use. It takes a while to pick up on all the terms and a lot of junior devs try to pick up meanings from context clues. Skip all of the confused looks and half-hearted "oks" by telling them what an interface is or how a repository works. It'll give them a much deeper understanding of the core concepts instead of language specific stuff.

Take opportunities to highlight career growth

Over the years, you've probably had different roles as a developer. You know what it takes to do things like DevOps or front-end development. When you're working with your junior dev, highlight some of these things. If you see your junior dev is picking up SQL queries faster than anything else, introduce them to database administration and tell them what all they would need to learn. Show them as many opportunities as you can because it will help them navigate through their careers.

When you show them all the options they have and tell them how to approach those opportunities, you set them up for a more successful career in the long run. They can start to think about where they want to specialize and how they can go about doing so. This gives them motivation to keep trying new things. As they try new things, they become a well-rounded developer which increases the quality of everything they do.

Let them finish their thoughts before you tell them the "right" way

When you get close to the end of a sprint and you know you need to finish in a hurry, resist the urge to block out the junior developer. This is one of the best teaching moments because it forces them to think fast and critically and it teaches them how to commit to decisions. Even if it's a difficult problem you aren't sure of, let them take a stab at it. It helps them to think past the surface level of code and deeper into the core of the application.

Give them a chance to tell you what they're thinking before you jump in and save the day. When you cut them off, it makes them feel like you don't care what they have to say or what they have been thinking about. While that may be true, it doesn't help them grow if you take over every time things get hard. Let them know that you listen to them and if they don't get it quite right, explain to them why and what you're going to do instead.

Talk through your process when you are writing code with them

At some point in your career, you've sat are someone's desk and watched them code. To make this useful (and not completely boring) for your junior dev, talk through your thought process. Watching you write code in silence might help a little, but when you give them insight to your thought process behind the code you write you really teach them something. They start to see how you connect the pieces and why you write code the way you do.

Once you've done this a few times, switch roles and have them do the same. If you notice they aren't using a concept like inheritance correctly, let them know. By listening to their thought process you can help steer them in the right direction. Getting junior devs to talk out loud also makes them more aware of what they're thinking about so they don't mindlessly write code.

Being a good mentor doesn't have to take a lot of time either. If you can spend even 30 minutes a day doing one of these things, you've just helped your junior dev in five different ways in a week. As you do this you'll start to see their skills grow and their confidence increase. I'm sure you remember finding out how much you didn't know as a junior dev. Be that resource you wish you knew about.

One of the best things about the web development community is how willing most people are to share their knowledge. Let's keep that going! I've never met a group of people online who are so supportive! Is there anything you would add to this list?

You can stay in the loop with what's happening in the web development world when you sign up for my emails. You can click here to do that. There's hundreds of people who already get the updates, so why not you too?

Sign up to WorksHub to join our community of talented developers sharing insights and discovering jobs and opportunities

Originally published on dev.to

Related Issues

cosmos / gaia
  • Started
  • 0
  • 4
  • Intermediate
  • Go
cosmos / gaia
  • Started
  • 0
  • 3
  • Intermediate
  • Go
cosmos / ibc
  • Open
  • 0
  • 0
  • Intermediate
  • TeX
cosmos / ibc
cosmos / ibc
  • Started
  • 0
  • 1
  • Intermediate
  • TeX
viebel / klipse-clj
viebel / klipse-clj
  • Started
  • 0
  • 4
  • Intermediate
  • Clojure
viebel / klipse
  • Started
  • 0
  • 1
  • Intermediate
  • Clojure
viebel / klipse
  • 1
  • 2
  • Intermediate
  • Clojure
viebel / klipse
  • Started
  • 0
  • 4
  • Intermediate
  • Clojure
  • $80

Get hired!

Sign up now and apply for roles at companies that interest you.

Engineers who find a new job through WorksHub average a 15% increase in salary.

Start with GitHubStart with Stack OverflowStart with Email