|
|
|
|
|
by jfb
4906 days ago
|
|
I think that static and dynamic type systems are classic incommensurable goods [1]. There's no way to pick between them based on some sort of value calculus; you just have to toss your hat in one ring or the other and live with the weaknesses as well as the strengths of your chosen approach. [1] http://plato.stanford.edu/entries/value-incommensurable |
|
Meanwhile the static typing compiler is spitting grumpy errors about some nitpicktastic piece of fluff it spotted. Immediate negative feedback.
So given the weekend-new-language thing, which example leaves a better impression?
Basically -- generalising enormously -- dynamic languages reward in the short term and punish in the long term; static languages are the opposite.
But human cognition is dreadful at long term prediction or comparison. So static languages will always be underrepresented unless, I dunno, Haskell compilers start doling out XP for fixing errors in your code.