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 58b9bb5 2 files · 14.3 KB Updated

File contents

ryanthedev/code-foundations/tree/main/skills/cc-defensive-programming commit 58b9bb5521

Frequently asked questions

npx skillmds@latest add ryanthedev/cc-defensive-programming