On 05/08/2012 07:46 PM, Stéphane Ducasse wrote:
for me I can understand that people want a format to exchange objects and that
they want to use STON but
I do not understand why we need that to store metadata when a simple array
works. Probably we love to
load our boat with extra readers and writers.
No, it was just a "trigger" for this discussion/comparison.
BUT... I would like you to at least read the parts in my article which
is about improving the literal support we have in Smalltalk/Pharo. The
main "problem" with literals that I can see (compared to Tirade) are:
- There is no restricted parser for them (as Tirade is), you need to use
Compiler and that is a HUGE security problem. But of course, you are
fixing that, right? :)
- There is no support for Associations as literals which means there is
no good support in literals to express Dictionaries/key-value-pairs
(like JSON has). Tirade has that in the form of literal Associations. I
think we should add something in this area to Pharo/Smalltalk in
general, but for more thoughts on that, please see article.
regards, Göran