Ask HN: Interaction programming
1–4 of 4 posts
Re: Ask HN: Interaction programming
#2If I understand you correctly, are you asking for something other than reflection, runtime querying (a la XSLT) and heirarchy traversal (DOM)?
If you think of your "system" as a graph objects that can be traversed; you can require a few messages to be built into a every object, likeconstructors, toString, and generic type-conversion for type-pairs. You can even encode full type description of messages and their arguments, using an schema language XSD, exactly like SOAP does.
Gaaah, I hate underspecified problems that sound interesting.
Re: Ask HN: Interaction programming
#3Can you please elaborate, possibly with examples? If I understand you correctly, are you asking for something other than reflection, runtime querying (a la XSLT) and heirarchy traversal (DOM)? If you think of your "system" as a graph objects that can be traversed; you can require a few messages to be built into a every object, likeconstructors, toString, and generic type-conversion for type-pairs. You can even encode…
Re: Ask HN: Interaction programming
#4Can you please elaborate, possibly with examples? If I understand you correctly, are you asking for something other than reflection, runtime querying (a la XSLT) and heirarchy traversal (DOM)? If you think of your "system" as a graph objects that can be traversed; you can require a few messages to be built into a every object, likeconstructors, toString, and generic type-conversion for type-pairs. You can even encode…
I think I overspecified the problem. I'm looking for ways to deal with maximum ignorance, because if you can deal with ignorance of the outside that means you have achieved independence. Dependencies specification is so popular today and I want something quite the opposite. There's bloat of dependencies, but there's bloat in independence as well. How would you deal with the bloat of independence?