News for hackers. Stuff that matters.
Re:Zig, the Small Language by properparity on Wednesday September 07, 2022 @02:15PM (#32754120)
How is w=add(u, v) more explicit than w=u+v?

Because operators "should not be function calls"?

That would make zig unusable on soft float/soft div architectures, or would have to get rid of / for division and operators for floats.

But I would also assume add() is inlined and not be a function call in a sane language/compiler, so the explicitness even falls apart from the start.

There are no comments on this comment yet.