#static-type-checking

[ follow ]
fromLuke Plant's home page
1 week ago

Statically checking Python dicts for completeness

In Python, creating a dictionary to correspond with enum states can lead to inconsistencies; ensuring each entry matches the enum is crucial for reliability.
JavaScript
from2ality
5 months ago

Template literal types in TypeScript: parsing during type checking and more

Template literal types in TypeScript enable static syntax checking and string manipulation at the type level, leveraging JavaScript's syntax.
[ Load more ]