[self-interest] have to get this off my heart

Jan-Paul Bultmann janpaulbultmann at me.com
Mon Dec 27 20:21:47 UTC 2010

On Dec 27, 2010, at 8:03 PM, Jecel Assumpcao Jr. wrote:

> All of my least favorite Self features have the same cause - strings or
> numbers where objects would work better. Certainly annotations are a
> more "proper" way of doing what was a "pun" in Self 1 and 2 using parent
> priorities, but I would be happier if these annotations were full Self
> objects instead of strings that have to be parsed in wierd way to
> extract the information we need from them.
> Another place with this problem is the parameters of fail blocks. In
> fact, this made Ole Agesen's application extraction scheme a lot less
> useful since primitive handling code always had to include fancy string
> methods. Replacing this parsing with a small set of exception objects
> would be a huge improvement, in my opinion.
> The layout stuff in Morphic used to (I haven't looked since 1995) encode
> stuff like left/middle/right as 1, 2 or 3. This required lots of tests
> that would go away if simple alignment objects were used instead.
That should go on the bug tracker in my opinion. Jecel would you be so kind :)?
> About the annotations, in my tinySelf 0 I just had a special constant
> slot with the value for the object annotation, but never did come up
> with a good scheme for the slot annotations.
Yeah, that was my first idea too, simply add a meta* slot or something like that, but slot annotations would have to be put in a dictionary then, with the selectors as keys wich means redundancy.
> -- Jecel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20101227/9de459d6/attachment.html>

More information about the Self-interest mailing list