Programming of Interdependent Activities: I General Discussion