DEV Community

Discussion on: How to tell a Junior Dev that what they've done is wrong?

Collapse
 
maulik profile image
Maulik

Discuss few cases where junior's code will fail and ask how his/her code will work in such scenarios. That way he/she will learn and will keep these kind of scenaios in mind from next time and they will also be greatful as they've learnt something from you each time.

Note : Don't tell them exactly what to do, just put such test-cases or scenarios on which they can think and code.

Collapse
 
nombrekeff profile image
Keff

Good stuff, this is something I do currently, seems to have a good effect. It makes them feel like they found the problem themselves. This was also mentioned in another answer, that we should try to guide them so they found the problem or solution themselves.