3 ms·
> The type structure is somewhat polymorphic, but breaks down. For example, rectangles cannot have both scalars and points added to them, because the message is
by msbarnett 5y ago
> The type structure is somewhat polymorphic, but breaks down. For example, rectangles cannot have both scalars and points added to them, because the message is resolved by the left operand of the message, not the left and right.
This seems very mildly ironic coming from Rob Pike, given Go’s stance on function overloading.