Cc Defensive Programming

Applies Code Complete's defensive programming rules: barricade design, assertion vs error-handling selection, input validation policy, and correctness-vs-robustness strategy for the current context. For hardening code at trust boundaries; not for diagnosing an active failure (use cc-debugging) or post-completion verification (use aposd-verifying-correctness).

ryanthedev Updated 387 repo stars

File contents

ryanthedev/code-foundations commit 58b9bb5521

Frequently asked questions

npx get-skill add ryanthedev/cc-defensive-programming