Comment

Comment by eyelidlessness

While you're technically correct, this misses the value of static type checking vs type checking in tests. Tests must be written manually, must check every code path and must be updated whenever the underlying implementation changes, in order to achieve the results of static type checking. But types are declarative and will be checked automatically for every code path called.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton