Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Defensive programming?

Definition 7.11 University Computer Science — Year 1 · Capítulo 7 — Modular Programs, Makefiles and Tests

Defensive programming is writing each function so that it detects the situations it was not designed for, instead of computing garbage from them: it checks what it receives from outside the program and returns an error, and it asserts what its callers must guarantee.

Leer en el capítulo →