4 ms·
> Keep both x++ and ++x in the language, even though they do the same thing. ?
by imdsm 11y ago
> Keep both x++ and ++x in the language, even though they do the same thing.
?
- dragonwriter 11y ago> > Keep both x++ and ++x in the language, even though they do the same thing. > ? That was a subalternative underneath the alternative of changing the operators to return Void like other assignment operators. ++x and x++ differ in that the former returns the value after the increment, the latter the value before; if they return void, all they do is the increment with no difference.
- imdsm 11y agoThis a delayed response for which I apologise, but thank you for yours, this makes complete sense now. I must have missed this at the time. Makes sense now.
- deleted 11y ago[deleted]