4 ms·
and a particularly dumb interpretation can be return true
by compsciphd 9y ago
and a particularly dumb interpretation can be
return true
- jerf 9y agoYes, while it may be fun to change values in a careful way, this is by far the more interesting one. The equivalent of "return true" is so powerful (or, alternatively, is so parsimonious in its use of power, depending on your perspective), you can even make it work in Haskell, where these mutation tricks don't work, because you can declare a newtype with a custom declaration of == that is just "true".