logoalt Hacker News

foxygenyesterday at 5:43 PM1 replyview on HN

Why?


Replies

BoorishBearsyesterday at 6:47 PM

Without agreeing (or disagreeing) with their larger point, dynamic types become more of liability as a project gets larger

Like "schemaless" database applications, there's always types/schema somewhere: the choice is if they'll be explicitly defined at the place of construction, or implicitly spread out across all the places data happens to flow in your application. And the more places there are, the more spread out they'll be.

Static typing is also really nice for game dev since proper unit tests are harder (but not impossible) compared to your average CRUD app.

show 3 replies