4 ms·
Yes, overloading is bad (operator overloading is a kind of overloading).
by throwaway894345 3y ago
Yes, overloading is bad (operator overloading is a kind of overloading).
- joshuamorton 3y agoHow do you do math without overloading? I have ints, floats, bignums, vectors, matrices, complex numbers, and potentially fractions. You want every operation to have a distinctly named version for each other numeric type? Maybe you can reduce some of those, but you can't really have interfaces without some overloading.