3 ms·
Tangential topic, but if Golang had any way to have constant pointers and frozen variables, the language would be my favorite.
by wageslave99 3y ago
Tangential topic, but if Golang had any way to have constant pointers and frozen variables, the language would be my favorite.
- pc86 3y agoThat sounds more unrelated than tangential.
- bryanlarsen 3y agoIOW, it's a 90 degree tangent?
- Conscat 3y agoA language without operator overloading is non-starter.
- catlifeonmars 3y agoFor which use case?
- omginternets 3y agoFunny, 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.
- keybored 3y agoA language without user-defined operators is a non-starter. ;)