3 ms·
> The problem with operator overloading is that it introduces a degree of ambiguity into the language. How is it any different in any way from any other overlo
by gumby 6y ago
> The problem with operator overloading is that it introduces a degree of ambiguity into the language.
How is it any different in any way from any other overloading (i.e. generic functions or allowing two classes to have methods with the same name?)
- GoOnThenDoTell 6y agoIt’s much easier to grep for function names
- gumby 6y agoThese days even emacs users can use LSP. Nevertheless I agree with your point. But shouldn’t overloading be used where its results are intuitive thus lookup should rarely be needed? /s