3 ms·
It may not be the greatest, but at least it's better than JavaScript's broken type system. It does catch at least some problems prior to runtime. The most comp
by PommeDeTerre 14y ago
It may not be the greatest, but at least it's better than JavaScript's broken type system. It does catch at least some problems prior to runtime.
The most compelling arguments regarding this matter are often in the form of personal experience working with large applications. JavaScript code bases don't scale well past around 10,000 lines of code and 2 or 3 developers at most. Languages like Java, C, C++, C# and Ada, on the other hand, can relatively easily handle software systems with millions of lines of code, worked on by hundreds or even thousands of developers spread globally.
- mercurial 14y agoIts type system is not particularly complex, but it is robust - it doesn't, for instance, coerce strings-with-numbers-in-it into numbers. Sure, you don't have sum types, etc, but at least it behaves in predictable ways.
- marrs 14y agoC++ is notoriously bad at scaling. I'm told that Ada is both very safe and painfully slow to code. JS certainly has its problems. I don't think its type system features all that high. Newcomers trying to make it behave like their favourite language is a much bigger problem.