Icon+Unicon/Intro: Difference between revisions

m
Line 379:
 
Some characteristics of co-expressions:
* They encapsulate their working environment. They will have their own copies of local variables. They can maintain their state separate from their caller.
* Mutable local variables are still subject to side-effects if the objects they refer to are modified.
* They often have multiple entry points: the initial entry point and subsequent transfer points.
Line 386:
* Arbitrary numbers of co-expressions may be run in parallel.
* Flows between co-expressions don't need to be hierarchical.
 
And while the original motivations for co-expressions was to facilitate co-routine calling flows, many of the solutions that use them do so to take advantage of these other characteristics.
 
==== Co-Expression Articles and References ====
Anonymous user