# Code as Risk • Kevlin Henney • GOTO 2017

- Channel: GOTO Conferences
- Duration: 50 min
- Published on YouTube: 2017-06-22
- Watched: 2021-02-03
- Topics: Testing and quality, Security
- Video: https://www.youtube.com/watch?v=YyhfK-aBo-Y
- Page: https://schafzahl.dev/talks/code-as-risk-kevlin-henney-goto-2017/

## Summary

Kevlin Henney argues in this GOTO Amsterdam 2017 security-track talk that architecture ends in the code, and that every line of code is a potential attack surface. Starting from photographs of software failures such as exposed stack traces, he refactors a C++ example to reduce code and complexity, and discusses defect-driven testing, noting that around 77 percent of production bugs in one study could be reproduced by a unit test.
