4 ms·
Io has a similar distinction. In the Io language, := is syntax sugar for newSlot and = only means updateSlot. So if you accidently = a slot that doesn't exist
by phaedrus 15y ago
Io has a similar distinction. In the Io language, := is syntax sugar for newSlot and = only means updateSlot. So if you accidently = a slot that doesn't exist, it doesn't new-up a magic global, it raises an error.
- nikcub 15y agoI recently took time to learn Io and I love it. It is a great language to know and learn if you do a lot of Javascript development.