4 ms·
https://en.wikipedia.org/wiki/Scala_(programming_language) https://en.wikipedia.org/wiki/Scala_(programming_language) (first paragraphs and "influenced by") h
by fnl 10y ago
https://en.wikipedia.org/wiki/Scala_(programming_language) https://en.wikipedia.org/wiki/Scala_(programming_language)
(first paragraphs and "influenced by")
https://www.quora.com/What-are-the-influences-of-the-ML-language-on-Scala https://www.quora.com/What-are-the-influences-of-the-ML-lang...
...
- elcapitan 10y agoOk, yeah, influenced. Javascript could also be called a LISP with C-Syntax, but that wouldn't make it a LISP. But I get what you mean.
- fnl 10y agoYou should compare the actual syntax and constructs. I agree that JS and LISP certainly are as far apart as anything else, and Python is as "functional" as any other imperative language. But Scala indeed is very similar to (1) OCaml and then (2) ML, and last, (3) Haskell in terms of type inference, syntax, and many other FP concepts [1]. [1] http://www.appservgrid.com/hyper/hyp/ml http://www.appservgrid.com/hyper/hyp/ml
- elcapitan 10y agoFair enough, thanks for the pointer :)
- drivebyops 10y agoScala is Hindley-Milner?
- fnl 10y agohttp://www.scala-lang.org/old/node/4654 http://www.scala-lang.org/old/node/4654 (Short answer: No, because it has [to support] subtypes.)