3 ms·
I think the only time I used operator overloading was when I was a junior C++ programming trying to be clever - maybe 15 years ago.
by jacobsenscott 4y ago
I think the only time I used operator overloading was when I was a junior C++ programming trying to be clever - maybe 15 years ago.
- zbobet2012 4y agoOperator overloading is more or less banned in most style guides unless you're working with well known "math" types. And for good reason. I'd love anyone to tell me what the (^@?!) operator in Haskell's popular lens library does. It's just... not a good feature for the most part.