Skip to content

Comment on “The days of using untyped languages on non-trivial projects are over.”parent

Comments

Inference for static types requires more from the compiler in two key ways that impact the developer experience. First, it's just plain more work to do when compiling, so compile times are longer than they might otherwise be. Second, error handling and messaging needs to be written very carefully to avoid dense and unhelpful output when inference fails. It's positive in many ways, but it's not a free lunch.

It's not a free lunch. But it's better than in projects where I'm forced to supply a type annotation everywhere in a dynamic language.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.