Hacker News new | ask | show | jobs
by zoul 20 days ago
Static type checking greatly affects code design. That’s why converting from JS to TS doesn’t give you full benefits of the type system – the code doesn’t lean into types to model invariants.