proud-dentist-22844
10/28/2022, 5:00 PMA imports B
• A depends on B
• B is like the parent in the relationship
• A is like the child in the relationship (think: things in A can subclass or inherit from things in B)
• B is a dependency
of A
• A is a ___???___
of B
What word/noun in English could replace ___???___
?sparse-lifeguard-95737
10/28/2022, 5:01 PMhappy-kitchen-89482
10/28/2022, 5:01 PMhappy-kitchen-89482
10/28/2022, 5:03 PMdependee
for this, but that is apparently wrong)witty-crayon-22786
10/28/2022, 5:03 PMdependee
happy-kitchen-89482
10/28/2022, 5:04 PMproud-dentist-22844
10/28/2022, 5:04 PMreverse dependency
or revdep
witty-crayon-22786
10/28/2022, 5:04 PMdependent
, i wouldn’t mind. i’ve mostly stuck with dependee
for consistency with the rest of the codebasewitty-crayon-22786
10/28/2022, 5:05 PMbitter-ability-32190
10/28/2022, 5:06 PMhappy-kitchen-89482
10/28/2022, 5:07 PMwitty-crayon-22786
10/28/2022, 5:07 PMbitter-ability-32190
10/28/2022, 5:10 PMdependent
and B a provider
. 🏆wide-midnight-78598
10/28/2022, 5:19 PMconsumer
?bitter-ability-32190
10/28/2022, 5:21 PMwide-midnight-78598
10/28/2022, 5:23 PMapt
uses rdepends
One would hope that if there is a noun used in a public API, the meaning would slap everyone in the face.
While I get dependee
because I think of dependency
and then think what the opposite would be - it's not a word I use with any frequency in my day-to-day or in programming. Ditto for dependant
or depender
or dependificator
wide-midnight-78598
10/28/2022, 5:23 PMproud-dentist-22844
10/28/2022, 5:26 PMrdpends
would be very problematic for me because I use gentoo all the time:
Gentoo portage uses RDPENDS
for "runtime dependencies", BDEPENDS
for "build dependencies (on the build host)", DEPENDS
for "build dependencies (on the target host)", and PDEPENDS
for "post dependencies (that should be installed after this one)"
The difference between build/target host allows for cross-compilation - Gentoo is a source-based distro, so everything gets compiled from source.wide-midnight-78598
10/28/2022, 5:26 PMproud-dentist-22844
10/28/2022, 5:26 PMwide-midnight-78598
10/28/2022, 5:30 PMA
is highly reliant on B
, while B
is ambivalent to A
I've noticed when writing libs, the grammar tends to be A
[verb {on}] B
and B
is a [noun] of A
(just my personal experience).
Even in this case, I would say "let's find all the `A`'s that rely on B
proud-dentist-22844
10/28/2022, 5:33 PMwide-midnight-78598
10/28/2022, 5:35 PMdependee
for me.curved-television-6568
10/28/2022, 5:36 PMhappy-kitchen-89482
10/28/2022, 8:00 PMhm, no? it’s the right meaning, even according to your link… just an uncommon usage.Nope, in that link a dependee is “the target of a dependency”, “the thing being depended on”
wide-midnight-78598
10/28/2022, 8:07 PMbrew uses --installed blah
Show formulae and casks that specify formula as a dependency; that is, show
dependents of formula. When given multiple formula arguments, show the
intersection of formulae that use formula. By default, uses shows all
formulae and casks that specify formula as a required or recommended
dependency for their stable builds.
witty-crayon-22786
10/28/2022, 8:48 PMTechnical term, not widely used in software engineering outside of agent-oriented programming but finds some use. In agent-oriented programming the antonym is depender, though in general usage the common term dependent is used insteadi read that as “dependee is equivalent to depender or dependent”
proud-dentist-22844
10/28/2022, 8:55 PMdependent
is used instead of what? The antonym depender
(so depender=dependent)? or dependee
the term being defined (so depndee=dependent)?witty-crayon-22786
10/28/2022, 9:10 PMdependee
probably is just strictly incorrect. we should fix that, heh.witty-crayon-22786
10/28/2022, 9:14 PMdependent
definitely seems like the least ambiguous, and we could probably open an issue to do a find-replace (and deprecation) there.proud-dentist-22844
10/28/2022, 9:24 PMwitty-crayon-22786
10/28/2022, 9:35 PMhappy-kitchen-89482
10/28/2022, 9:37 PMwitty-crayon-22786
10/28/2022, 9:38 PMwitty-crayon-22786
10/28/2022, 9:39 PMdependency
, so i parsed that as “here is another antonym”. aaaanyway.happy-kitchen-89482
10/28/2022, 9:45 PMhappy-kitchen-89482
10/28/2022, 9:45 PMwitty-crayon-22786
10/28/2022, 9:45 PMcurved-television-6568
10/28/2022, 10:09 PMhappy-kitchen-89482
10/28/2022, 11:06 PMhappy-kitchen-89482
10/28/2022, 11:06 PMhappy-kitchen-89482
10/28/2022, 11:06 PMhappy-kitchen-89482
10/28/2022, 11:07 PMwide-midnight-78598
10/28/2022, 11:07 PMwitty-crayon-22786
10/28/2022, 11:14 PMcurved-television-6568
10/29/2022, 10:28 AM