Defensive Programming

Validate untrusted data once at the boundary, then trust invariants inside and fail loudly if they ever break. Use when writing entry points, constructors, or any code that must not proceed on bad state.

Amey-Thakur Updated 14 repo stars

File contents

Amey-Thakur/AI-SKILLS commit 74e9dba630

Frequently asked questions

npx get-skill add amey-thakur/defensive-programming