4 ms·
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 t
by doug1001 10y ago
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)