Hacker News new | ask | show | jobs
by satvikpendem 1220 days ago
Types can be checked at runtime too, not just compile time. A language is sound if all types, even at runtime, are what they say they are. Zod for TypeScript is one example of checking this at runtime, although it's not fully safe either.