4 ms·
Why can you make assumptions about operation overloads but not functions?
by 4hg4ufxhy 3y ago
Why can you make assumptions about operation overloads but not functions?
- foolswisdom 3y agoBecause there is nothing to make assumptions about. In the example code, both multiplication and division have a scalar on one side, there's no possible ambiguity of behavior. But there is the eternal question of terminology: do you specify dimensions by "axis" or "dim" and does your API actually use both terms in different places? (that's what I think the GP meant, anyway).