-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement postfix:<++> and postfix:<--> #122
Comments
I'd just like to take this opportunity to point out that the introduction of something like Something like this:
I say that bit of code should print Actually, this business is not specific to macros that change stuff around:
With sequence points we basically mean that the compiler does not have the freedom to re-order the evaluation of operands or arguments. (At least not unless it knows it can get away with it.) Java specifies sequence points in a way I find intuitively satisfying. We might want to have some wording on that, too. |
Actually, the damage is already done with Actually * 2, the damage is already done with functions. I hear functions can have side effects. 😛 I really stopped by here to say that if we make assignment a statement (#279), then maybe If that also means people rely a little bit less on the value of I hear |
|
Implemented in #477. |
After we implement #119, there would be little reason not to have
postfix:<++>
andpostfix:<-->
.Not only that, our ability to construct these as macros would be a good showcase for macros and storage locations/lvalues. Because we'd expect something like
to work, and that kind of presupposes that we think in terms of storage locations instead of (as is the case in many places in the code right now) in terms of identifiers.
The text was updated successfully, but these errors were encountered: