3 ms·
> Go's lack of operator overloading is occasionally a nuisance, it means that you'll never have to dig deep to understand what "+" It's funny, in 10 years of w
by VBprogrammer 3y ago
> Go's lack of operator overloading is occasionally a nuisance, it means that you'll never have to dig deep to understand what "+"
It's funny, in 10 years of writing Python professionally I can only think of one occasion when I had to dig into what a __add__ operation did (a Money library which didn't special case 0 meaning sum didn't work as you might hope).
I think it's probably because python has a pretty comprehensive standard library which gives reasonably consistent examples of where to use them.