Comment Let's compare these advantages to Haskell (Score 2) 62
It combines the strengths of dynamic scripting languages (less boiler-plate, fast and easy start-up, a REPL, no required compilation step).
Let's see whether the great dynamic scripting language Haskell also fulfills these points.
- - less boiler-plate: in addition to not requiring type annotations, Haskell even gets rid of parens; check
- - fast and easy start-up: you can compile it to native; check
- - REPL: check
- - no required compilation step: if you use runhaskell it looks like interpreted, check (thouch technically that's a lie, as it is for JITed scripting languages
Now we see Haskell has all the advantages of dynamic scripting languages. How about the advantages of compiled languages?
with the strengths of traditional compiled languages (fast execution, static error detection, modularity, zero-overhead Java platform integration).
- - fast execution: ghc creates very efficient native code, check
- - static error detection: uhm, yes; though better than traditional languages, check
- - modularity: dunno what this means. Since there are modules in Haskell we call it check.
- - zero-overhead Java platform integration: unfortunately not. But since exactly when is Java-integration zero overhead?
Which proves that Haskell has all the advantages of dynamic scripting languages, and most of the advantages of traditional compiled languages.
Btw., you can do the same using any other modern compiled language. This post wants to show the "advantages of dynamic scripting languages" have nothing to do with the languages being "dynamic" or "scripting", whatever that means.