|
|
|
|
|
by gabordemooij
159 days ago
|
|
1. I guess this is just personal taste, we can add aliases if you like. lf (lowercase seems nice). Smalltalk itself uses brk. Could at both. Personally I love the 'touch' of history, makes it seem like there is continuum in tech somehow. But that's just personal taste as well. 2.
['the word 'Hello' has 5 chars']
['I say: "Hi There!"']
['In xoscript we use [' and '] '] this is not allowed:
['this causes a '] parsing error.'] 3.
It's all just message passing. - {} * x is just message * with arg x
- yes it's a function, which is an object, and it has a method called *
- Smalltalk uses times: { ... } times: 101. - True is an object
- (i = i) yields True, so you can send a messages to True
- continue/break only work with True
- , means: continue talking to object (True) |
|