Hacker News new | ask | show | jobs
by mehrdadn 2230 days ago
> It is beneficial that the behavior is defined, and therefore consistent. So you don't run into cases where it works on your laptop, but not on your server.

I already don't run into such cases though? Do you run into cases where changing an overflow to wrap-around (e.g. maybe via unsigned?) makes it suddenly your code work on 2 machines, whereas leaving it as overflow makes it work on 1 machine but not the other?

1 comments

That was the example given in the original article
Yes, but I was asking about your experience.