Jul 01, 2019

Sure, however nobody has been shown that one approach is more costly than the other in practice. The most recent research available is the replication of the large scale GitHub study [1]. The relative effects of language choice on code quality is less than 1%. The main finding is that language choice hardly matters at all.

On the other hand, we can easily measure the effects of factors like sleep [2], overwork [3], and happiness [4] on code quality. If static typing was an actual factor, we’d see exactly the same kinds of effects.

There’s nothing wrong with enjoying static typing, but there’s simply no evidence that it plays any role past personal preference. Different people solve problems in different ways, and have different pain points. It's entirely possible that each type discipline appeals to different mindsets. That is a value in itself.

[1] https://arxiv.org/abs/1901.10220

[2] https://arxiv.org/pdf/1805.02544.pdf

[3] http://web.archive.org/web/20090824001133/http://www.curt.or...

[4] http://neverworkintheory.org/2014/05/01/happy-sw-devs-solve-...