News for hackers. Stuff that matters.
Re:Go+: Go designed for data science by grayclhn on Saturday March 27, 2021 @06:39PM (#26606245)
I consider it kind of important that the notation for expressions like “A²” doesn’t depend on whether A is an integer, real number, complex number, matrix, random variable, etc., (even if the results do) or what the specific domain is, but if you feel like it’s important to embed all of that context in the exponent operator... give it a try :)

(And whether “2” is integer, real, rational, complex, etc)

Re:Go+: Go designed for data science by marcus_holmes on Saturday March 27, 2021 @09:00PM (#26607123)
Yeah, but operator overloading doesn't say any of that. You have no idea what the "^" operator does, depending on the operands