I'm learning python-django. But nowhere can I find a clear definition of the term "dependency". What it is, in fact, I understand. But can someone give a clear explanation?

  • one
    If your code needs a library to work, then your code depends on it, and the library itself is a dependency for code. - Sergey Gornostaev

1 answer 1

The code is usually divided into clients and services.

A client is a program that uses another program.

A service is a program that another program uses.

That is, client programs use service programs. If a client needs a module (service program) to work, then this program can be called dependency. Since its availability depends on the performance of the client.