3 ms·
> I prefer the implicit version and disagree with the claim in the article that it will lead to dozens of arguments. What we normally do when we have dozens of
by naasking 3y ago
> I prefer the implicit version and disagree with the claim in the article that it will lead to dozens of arguments. What we normally do when we have dozens of things that belong together is that we package them all up into data structures/records/objects that group related functionality.
This was the suggestion of "A Second Look at Overloading" [1], where they eliminate class declarations and simply declare which individual functions/operators are overloaded.
[1] https://dl.acm.org/doi/10.1145/224164.224195 https://dl.acm.org/doi/10.1145/224164.224195