4 ms·
The thing is that Smalltalk do not have language constructs like loops or conditionals ifs/switch. Smalltalk also do not have functions only methods. There are
by Chyzwar 10y ago
The thing is that Smalltalk do not have language constructs like loops or conditionals ifs/switch. Smalltalk also do not have functions only methods. There are only objects and messages.
Your infix functions would need to live somewhere probably in global scope with makes then no different than language constructs.
I would love to see new Smalltalk implementation that is not a Walled Garden. Making a Smalltalk impure is not a way foward imo. You work is interesting but what we need is Smalltalk VM on modern back-end like LLVM and better concurrency.
- gokr 10y agoSpry does not have these builtin either, they are all functions. In fact, even assignment is, which makes Spry even more minimal then Smalltalk in this sense. I know Smalltalk VERY well, and Spry is trying to experiment. I think polymorphic functions can be just as powerful as a class based model, even more so, and still feel similar. But i need to write examples to show it.