I was asking myself the same question, is mentoring and teaching one and the same thing?
Doing a bit of research I came across this:
Mentoring and teaching are related but distinct approaches to learning and development.
Teaching
===================
When it comes to teaching it focuses on and primarily impacts knowledge and skill based on structure curriculum with specific goals. A teachers role is responsible for ensuring students learn and develop specific competencies. Contextually teaching often occurs in formal settings such as classrooms, where instructors deliver content to students. It's approach is to emphasis the acquisition of knowledge and understanding of concepts.
Mentoring
===================
Mentoring on the other hand focuses and goes beyond knowledge transfer. It hones in on personal and professional development The role of mentors provide guidance, support, and life lessons based on their own experiences. Contextually mentoring can happen informally, one-on-one, or in group settings.
The goal is to help mentees grow, gain insights, and navigate their personal and professional journeys
I like both approaches to development, and there should be proportional doses of both, but in the context of Software Engineering I think it leans more towards mentoring.
In summary, while teaching imparts knowledge, mentoring provides valuable life lessons and practical
insights. Both approaches play essential roles in personal and professional development,
but they serve different purposes. Having said all that I also appreciate that people use it interchangeably.