Apparently Io is more liberal in what it allows as identifiers than most other languages. For example, names starting with a number are allowed:
3d6 := "hello" 3d6 println #=> hello
(I'm assuming this works as long as the name doesn't clash with something else. E.g. 123e4 won't work so well because it evaluates to a number.)
Io> Lobby 123 := 42
==> 42
# this works, then:
Io> Lobby getSlot("123")
==> 42
# however:
Io> Lobby 123
==> 123
This is possible too:
A := Object clone do( value := 42 ) A + := method(y, self value + y) A + 3 #=> 45
The following comment types are supported:
# until end of line // until end of line /* multiline comments */