What is the meaning of the term "dependency" with regard to computer technology?

zoyaa10

Member
OP
Newcomer
Joined
Dec 5, 2022
Messages
5
Trophies
0
Age
24
XP
32
Country
India
I have researched this question, but can't find a consensus. If "A depends on B", does the term "dependency" refer to:

  1. A
  2. B
  3. The relationship between A and B
Does this term have different meanings in different subdomains of computer technology?
 

fringle

Well-Known Member
Member
Joined
Apr 16, 2009
Messages
704
Trophies
1
XP
1,107
Country
Canada
I have researched this question, but can't find a consensus. If "A depends on B", does the term "dependency" refer to:

  1. A
  2. B
  3. The relationship between A and B
Does this term have different meanings in different subdomains of computer technology?
Basically if B is dependent on A it means B can't run unless A is running first. If A crashes or stops working so will B if B crashes A will continue to run since it's the parent process. So 3 would be the correct answer.
 
  • Like
Reactions: AncientBoi

lwiz

Well-Known Member
Member
Joined
Sep 23, 2012
Messages
364
Trophies
2
XP
1,045
Country
Finland
Or program X depends on availability of library Y so in order to compile and run the program you need the headers for library Y installed and then link the program with said library. (On Windowws, DLL's are the said libraries.)
 

Urbanshadow

Well-Known Member
Member
Joined
Oct 16, 2015
Messages
1,578
Trophies
0
Age
33
XP
1,723
Country
I have researched this question, but can't find a consensus. If "A depends on B", does the term "dependency" refer to:

  1. A
  2. B
  3. The relationship between A and B
Does this term have different meanings in different subdomains of computer technology?
In terms of software design, if A depends on B, A is the dependant and B is the dependency from A's perspective. Be aware B can be dependant on other things. This dependency can be a class, a struct or a whole library. What is important is how the dependency is handled, rather than what depends on what.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
dependencies are some of the most frustrating aspects of building apps and whatnot, especially if the dependencies needed aren't written somewhere. usually when it says "can't find" or whatever, you're missing a dependency. if there's code that results in an error, you're most likely using the wrong version of something. either one of these things, dependencies as well using the wrong version, can make building extremely difficult, especially when the project appears dead or hasn't been updated in like a decade.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
In the scenario posed. A has a dependency on B, that is to say dependency is an adjective describing a quality of A.
B is a dependency, that is to say dependency is used as a noun to detail what B is in that scenario.

I could probably construct a sentence with it as a verb but I don't think I have ever seen it done so I will skip that.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Maximumbeans @ Maximumbeans: butte