12 ms·
Funny, for me it’s the other way around. Ain’t no way I’m going back to the land of C++ operator abuse, where ‘+’ doesn’t even mean ‘+’ anymore.
by omginternets 3y ago
Funny, for me it’s the other way around. Ain’t no way I’m going back to the land of C++ operator abuse, where ‘+’ doesn’t even mean ‘+’ anymore.
- Conscat 3y agoWithout operator overloading, you cannot define arithmetic data types that have a homogenous API with fundamental types. Since math is.. basically all that computers do aside from some IO here and there, that's means a language without operator overloading is a domain-specific language. Curiously, none of these languages that lack operator overloading come close to covering all of the common use cases for math, except perhaps Odin.