Re:Int a = 5; a = a++ + ++a; a =? (2011)
by wat10000 on Thursday May 14, 2026 @04:05PM
(#48140524)
I'd say it's more like C was designed from really dumb compilers on really diverse hardware. The standard, at least the early versions of it, was more to codify what was out there than to declare what was correct. For most things like this in the standard, you can point to two pre-standardization compilers that did it differently.
[ Parent
| on HN ]
Re:Int a = 5; a = a++ + ++a; a =? (2011)
by AnimalMuppet on Thursday May 14, 2026 @04:22PM
(#48140723)
Kind of both? There were pre-standard compilers, but when they created the standard, they tried to make it so that one could write really dumb compilers and still fulfill the standard.