Re:How Python Makes Working with Data More Difficult in the ...
by willtim on Thursday November 17, 2016 @12:57PM
(#12979715)
Can we please see a comparison with a statically-typed language better suited to data-science? Go is a long way away from the current state-of-the-art in statically typed languages. I would hope that F# with its type providers has a pretty good exploration story and possibly Scala too.
[ Parent
| on HN ]
Re:How Python Makes Working with Data More Difficult in the ...
by doug1001 on Thursday November 17, 2016 @09:01PM
(#12983718)
completely agree. Never occur to me to use Golang for data-focused applications
among the most important criteria for me are:
parametric polymorphism (eg, a typed vector); immutable data structures; and exception handling (preferably monadic)
and i don't believe Golang has any of these.
As you mentioned, if one is looking for a statically typed data science language, objectively scala is hard to miss. Apache Spark is probably the most widely used "big data" tool at the moment; it's written in Scala, and while the python API is likely far more widely used, new features hit the scala API first.
(i don't know F#, but aside from the feature you mentioned, R copied it's pipe operator, |>, which i also see in a lot of scala code, usually implemented as a type class)