A
A
ArsenCh2018-04-13 17:25:15
Python
ArsenCh, 2018-04-13 17:25:15

A mutable object as a means of communication between classes (and other objects)?

To what extent is it legal and correct to use a mutable object as an intermediary between classes or other objects? For example, how correct is the following organization of communication - one class writes values ​​to the dictionary, the other reads and also makes changes?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question