News for hackers. Stuff that matters.
Re:Why Zig over C for Systems Programming by pron on Friday November 13, 2026 @11:53AM (#50486221)
I'm not disputing that some people like operator overloading, but clearly others prefer no overloading of any kind (don't know what the LLMs prefer, if they have any preferences). That's why we need options.
Re:Why Zig over C for Systems Programming by clhodapp on Friday November 13, 2026 @12:32PM (#50486790)
[delayed]
Re:Why Zig over C for Systems Programming by pron on Friday November 13, 2026 @01:12PM (#50487443)
I'm not talking about custom operators. I'm talking about the ability for programs to overload either operators or other symbols (subroutine names). It's true that custom operators don't have to support overloads, but it's hard not to get collisions without overloads.