3 ms·
Is there no language in which evaluation order is random/undefined?
by masonic 8y ago
Is there no language in which evaluation order is random/undefined?
- kryptiskt 8y agoScheme doesn't define an evaluation order.
- alangpierce 8y agoAs mentioned elsewhere, it's unspecified in C but tends to be right-to-left in practice. To be clear, my categorization of languages is just from testing it directly, I didn't look it up in the spec for any of them. But I think newer languages try to have fully-defined behavior, at least for things like this.