DEV Community

Adam Crockett
Adam Crockett

Posted on

✋Explain Software Dependency

I need your help, I have a sentence to write and it's not coming easily.

Can you tell me what you think a software Dependency is in 5 lines or less.

I will be forever dependant on you 😂

Discussion (4)

Collapse
ben profile image
Ben Halpern

A software dependency is some code that you need to run other code. Your code depends on it to work.

Dependencies also have dependencies. A pepperoni Pizza depends on pepperoni to function. The pepperoni itself depends on cows, pigs and a bunch of salt?

Collapse
adam_cyclones profile image
Adam Crockett Author

Bravo Ben, most kind, I like the pizza 🍕 example too.

Collapse
jilcimar profile image
Jilcimar Fernandes

Dependency is an external piece of code that your system needs to function. They can be used in production or simply to assist in development.

Collapse
adam_cyclones profile image
Adam Crockett Author

Jilcimar that's cool how you have covered different contexts for usage, thank you for this.