| ▲ | pjmlp 14 hours ago | |
Yes, but that is orthogonal how primitives and reference types get exposed to the developer. Something like toggle is also impossible in languages that favour immutability and forward progress requires creating new variables, like several functional and logic languages. | ||