DEV Community

Discussion on: Should I allow my teammates to make mistakes, so that they can learn from them?

Collapse
 
heatherw profile image
Heather Williams

All devs make mistakes. Some of mine have been pretty spectacular and were not caught in code review. My team lead has a similar history. In our team we value learning highly so with that emphasis we all try to learn from each other and from each other's mistakes. There is also an expectation that you will own your mistakes and fix them. Which further enhances the learning from mistakes aspect.

That said no mistake is allowed to deliberately slip through. Instead the code review process is used as a chance to explain why something is a bad idea or should be done differently. We all learn from each others mistakes, not just our own.

In short, foster an environment where learning is encouraged and people are accountable for their work. That way you don't have to let mistakes go through to prod to see what happens.