Hacker News new | ask | show | jobs
by hitekker 16 days ago
> you are confused and emotionally involved

I think when someone identifies with a programming language, it ends up owning them

1 comments

Yeah, the Ziglets need to chill. C# and Python pioneered decent operator overloading decades ago.

Allow only a subset of operators to be overloaded to prevent operator soup (see `<<|_|>>` operator). And provide a contracts which push towards correct usage.

Rest is syntax sugar.

Did you reply to the wrong thread? pjmlp is a good critic of Zig and "operator overloading" isn't a topic that was raised here
Yeah. The hacker news threads get tedious to track.