3 ms·
Even the statement true become: false is valid in Smalltalk, although executing it is not recommended. https://en.wikipedia.org/wiki/Smalltalk https://e
by marshray 14y ago
Even the statement
true become: false
is valid in Smalltalk, although executing it is not recommended.
https://en.wikipedia.org/wiki/Smalltalk https://en.wikipedia.org/wiki/Smalltalk
- spooneybarger 14y agoso in most smalltalk representations, true and false are implemented as primitives so that wouldn't actually do anything but in theory, yes, you can turn true into false and variety of other things. as an aside, people who don't use smalltalk are often drawn to the 'become' functionality which is almost never seen in the wild.