Creating a Culture of Code Quality

La présentation



Le sujet

Quality isn't something that just happens, even with the best engineers. It requires bottom-up and top-down support in the engineering organization, champions to drive it forward, and a clear vision to sustain it.

Quality can be thought of concentric circles of increasing scope.

Compilation: Use an opinionated compiler and make it run in a strict mode.

Linting: Build or use an AST linter to enforce coding styles and conventions.

Unit tests: Verify function and object contracts in a sandboxed environment.

Integration tests: Blackbox testing of application functionality ensures core product flows are working before deployment.

Build tools: Enable developers to leverage all of the above seamlessly with a high quality build system.

Documentation: Reduce the overhead of 1on1 training and make it easy for people to self-improve.

Culture: Quality is the responsibility of every engineer.

Présenté par David West

David West

David is an engineer on Pinterest's web platform team. He is a member of Pinterest's Testing X-team, a cross-functional team at Pinterest dedicated to improving code quality and reliability across the company. David was previously an engineering manager at Trulia and engineer at other Silicon Valley companies. He's also an avid gamer and the proud owner of an 8-year-old chinchilla.