3 ms·
I always hear the at scale claim, but have never seen it even in larger code based. The academic literature also seems far from conclusive. I get why people lik
by ch4s3 4y ago
I always hear the at scale claim, but have never seen it even in larger code based. The academic literature also seems far from conclusive. I get why people like types, but I think they’re a bit oversold.
- deleted 4y ago[deleted]
- karmakaze 4y agoThe literature I read was about comparable defect rates between different programming languages producing comparable functionality. I hadn't read anything about productivity of different languages and team sizes--if you have any references I'd be interested in reading them. One story I did read was about how Twitter switched to Scala (and later Java IIRC) mainly for the static typing and not for performance or other reasons. I don't understand the not seeing it in a large codebase point. I work on a large Ruby code base that started without type annotations. Since I joined, we're now all adding type annotations for everyone's benefit, so they definitely exist. The reason for not wholly rewriting such a large codebase in a static typed language should generally be considered a no go. Many devs complained at the time and now most (if not all, I don't know of exceptions) now appreciate having the type checking and visible annotations for reading. I don't work on front-end but I expect that there was a some of that too in the React TypeScript codebases.