Principle Type System Discipline

Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.

poteto 666fedc 3.7 KB Updated

File contents

poteto/plugins/tree/main/pstack/skills/principle-type-system-discipline commit 666fedca89

Frequently asked questions

npx skillmds@latest add poteto/principle-type-system-discipline