2 ms·
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 static
by willtim 10y ago
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.
- doug1001 10y agocompletely 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)