I teach computer science to undergrads and write for The Renegade Coder. I'm most likely taking care of my daughter, watching the Penguins, or reading manga.
Location
Columbus, Ohio
Education
B.S. in CE from CWRU 2016; M.S. in CSE from OSU 2020; PhD in EED from OSU 2024
Agreed! When I was digging into this problem, I read that the functionality is basically undefined in C/C++, totally compiler dependent. It would fun to see how other languages handle it.
It really differs with the languages on how they are being evaluated by their compilers. This syntax may work with one language, and not on the other one.
I had a programming language subject before and it was in there that we were enlightened by how different languages' syntax are being evaluated. I completely agree it is interesting to see how different languages support similar syntaxes.
First time I seen that one too. It would be interestingto see how it behaves in other languages that support increment operators.
Agreed! When I was digging into this problem, I read that the functionality is basically undefined in C/C++, totally compiler dependent. It would fun to see how other languages handle it.
It really differs with the languages on how they are being evaluated by their compilers. This syntax may work with one language, and not on the other one.
I had a programming language subject before and it was in there that we were enlightened by how different languages' syntax are being evaluated. I completely agree it is interesting to see how different languages support similar syntaxes.
Great article by the way @Jeremey Grifski!
Yes, I would stay away from that syntax altogether. Surprises are not a good thing in programming :-)