DEV Community

Discussion on: The quest of private inheritance in C++

talha131 profile image
Talha Mansoor

You have explained it beautifully, and it was a pleasure to read. Your article refreshed old memories, not to mention old C++ wounds. 😃

How do you explain to your students the need for abstract classes and virtual methods or even inheritance? I have seen that most teachers can explain the concepts, but they cannot teach or explain when and why to apply these constructs.

I asked you because I am mentoring some students. I would love to pick your brains on mentoring tips.

sandordargo profile image
Sandor Dargo Author

I didn't want to tear up wounds, sorry for that! :D

Thanks for your kind words!

I'll think about it. I'm mentoring junior developers who already know the concepts, we have to go through on the forgotten details.

I'll get back to you soon.