vendredi 29 juillet 2016

Value categories in languages other than C++

I recently have learned about C++11's value categories. Frankly, I was astonished by all the nuances and subtleties. I thought C++ is a very complicated language that I had grasped reasonably well, but every now and then something jumps out and proves me simply naïve. I'm very curious whether there are other languages that have something similar to value categories. For example, I googled on Java but nothing interesting showed up. And I know C has lvalue/rvalue, but that's basically pre-C++11 C++.

Aucun commentaire:

Enregistrer un commentaire