How Team Structure Influences Code Quality • Adam Tornhill, John Le Drew & Preben Thorø

Adam Tornhill

Discover how team structure and organization significantly influence code quality, and learn strategies to improve collaboration, psychological safety, and autonomy for better software development outcomes.

Key takeaways
  • Code quality is influenced by team structure, not just individual skills or code properties.
  • Factors like team size, diversity, and healthy retrospectives are key to code quality.
  • Collaborative product ownership and small teams (3-4 people) can be effective.
  • Diverse teams with varying levels of experience and roles can be more effective than homogenous teams.
  • Technical depth and organizational factors play a larger role in code quality than individual skills.
  • Well-designed systems with clear boundaries can help reduce integration challenges.
  • Facilitation plays a crucial role in supporting positive conflict and team effectiveness.
  • Human and organizational factors, such as psychological safety, supervision, and autonomy, are essential for effective teamwork.
  • Code quality can be improved by focusing on the production of high-quality code, rather than just adding features.
  • Team structure and organization can influence code quality, and vice versa.
  • Looking at the “system boundary” and “team coupling” can help improve code quality.
  • Having a single product owner can be limiting, and collaboration between teams is important for code quality.
  • Identifying and addressing issues through retrospectives and continuous improvement can improve code quality.
  • Having a “positive” team with psychological safety and autonomy can lead to more effective teams and code quality.
  • Small teams can be more effective than larger teams, as long as they are well-designed and maintained.
  • Facilitating collaboration and healthy conflict is important for code quality and team effectiveness.
  • Developing psychological safety and supervisory skills can help improve team effectiveness and code quality.
  • There is a strong correlation between shorter lead times and throughput and code quality.
  • There is a need for research on team structure and organization, as well as human and organizational factors, to improve code quality.