0

I want to expresss below 2 concepts in simple terms, especially the bold parts:

  • A and all the things A depends on.

  • A and all the things that depend on A.

Is there any special term or single word can be used? I guess there may be something similar to the pattern of employer and employee. Thanks.

ADD 1

The scenario is like this:

  • A is a computer program module.
  • A depends on one group of modules to run.
  • And another group of modules depend on A to run.
TimR
  • 123,877
  • 7
  • 100
  • 202
smwikipedia
  • 103
  • 4

3 Answers3

0

First of all: welcome!

In programming (like you surely know) there are some common names for modules, like 'classes', 'bundles', 'namespaces', 'libraries', 'packages' ....

In my opinion you need to find out, what is the most appropriate word in relation to your programming language or software development paradigm! Then it will be easy for you to pick the right term.

When I read your post for the first time object oriented programming came to my mind. If this is the case, then 'parent class' or 'parent package' ('A and its corresponding parent packages / classes') will be pretty appropriate, I guess. Your second scenario would be 'A and all of its subclasses'.

Jochen
  • 355
  • 2
  • 11
0

You want to express these two relationships:

A depends on one group of modules to run. And another group of modules depend on A to run.

The simplest way to express this relationship is to say:

A depends on X, Y and Z.
I, J and K are dependents of A.

JavaLatte
  • 59,614
  • 2
  • 75
  • 134
0

"All the things A depends on" are A's dependencies. If you include the things that those dependencies depend on, and so on recursively, those are the transitive dependencies. I am not aware of a term that encompasses "A and A's transitive dependencies".

The things that depend on A are its dependents, or possibly downstream packages, or consumers.

dain
  • 101