Comment

Comment by doctor_eval

I see type safety as akin to the “Swiss cheese” model in aviation safety. It’s creating one more barrier against accidentally crashing your application.

The thing with type safety is that systems like typescript are so easy and cheap to deploy, relative to E2E or even unit tests; it’s a small investment that pays off in multiple ways over time (quality, documentation, developer onboarding).

I really struggle to understand the sometimes vehement arguments against it.

https://en.m.wikipedia.org/wiki/Swiss_cheese_model

parent doctor_eval 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton