2 ms·
> Why does it have to be clear? Because it's part of the binary interface. Changing the binary interface prevents existing programs from interoperating. Everyt
by matheusmoreira 7y ago
> Why does it have to be clear?
Because it's part of the binary interface. Changing the binary interface prevents existing programs from interoperating. Everything breaks until the software is recompiled and that can be a major nuisance at best and impossible in the worst case.
Simple, well-defined and stable binary interfaces are a major reason why C is still widely used. Uncertainty in this area is never a good thing so people will actively avoid language features that introduce it. Looks like enums aren't favored for similar reasons: what is the underlying type?