2 ms·
> before they appeared Hmm...static type checking is something you add to a programming language, so you seem to have your causalities mixed up a bit. > confu
by mpweiher 8y ago
> before they appeared
Hmm...static type checking is something you add to a programming language, so you seem to have your causalities mixed up a bit.
> confusing dynamic types with dynamic compilers
Nope. Most of the compilers for languages for different kinds of rich static type systems are slow, and getting slower. Yes, C++, but also Haskell, Scala and Swift. Some have Turing-complete type-systems, so you actually have no guarantee that compilation will even terminate, never mind the time it will take.
An almost bigger point is incrementality. A language/system like Smalltalk lets you compile a method at a time without stopping the running program, and you can do an exploratory step that is allowed to be inconsistent without having to fix all related code.
The development experience is something that has to be seen and lived to be believed.
- tome 8y ago> Most of the compilers for languages for different kinds of rich static type systems are slow, and getting slower It's not the types that make Haskell slow to compile, as you can verify but running a type-check only pass using -fno-code. You will find it run an order of magnitude quicker than a full compile.