Re:Zig 0.7.0 tagged
by wtetzner on Monday November 09, 2020 @04:29PM
(#25040167)
> Aren't you contradicting yourself here?
I don't think it's a contradiction. I think what's being said is that it's the wrong default, i.e. the special different-looking operators should be the ones with UB, not the obvious "normal"-looking ones.
Re:Zig 0.7.0 tagged
by Gibbon1 on Monday November 09, 2020 @05:29PM
(#25040734)
Exactly. At least my experience there is code where you really care about performance and you are willing to do the distance. And then there is a lot of code where you just want it to work with no surprises.
I don't think it's a contradiction. I think what's being said is that it's the wrong default, i.e. the special different-looking operators should be the ones with UB, not the obvious "normal"-looking ones.