3 ms·
Exactly. I was wondering if someone had done a study comparing readability of static vs. dynamic typing.
by pjmorris 4y ago
Exactly. I was wondering if someone had done a study comparing readability of static vs. dynamic typing.
- IshKebab 4y agoI haven't seen one for readability, ease of maintenance and so on, since those are hard to objectively measure. There is one where they added Typescript and Flow annotations to JavaScript projects to see if it would have detected known bugs. It found about 15% of them.
- layer8 4y agoExplicit vs. implicit typing may be more useful. A statically-typed language with full type inference may look identical to a dynamically-typed language.