News for hackers. Stuff that matters.
Re:Go+: Go designed for data science by sampo on Sunday March 28, 2021 @05:33AM (#26609039)
> I never understand why operator overloading is said to make things more readable.

Ocaml doesn't overload even the arithmetic operators, so you write for integers

    1 + t * A
and for floating point

    1 +. t *. A
and for matrices you would make something like

    scal_mat_add(1, scal_mat_mul(t, A))
Do you really prefer these three, over writing

    1 + t * A
for all cases?

There are no comments on this comment yet.