.  GoF  Python, C++23, Rust  Java
 


       ,      .  ,       .           .  GoF   Python, C++23, Rust  Java,      .





.  GoF  Python, C++23, Rust  Java








       (Mediator).       (Gang of Four, GoF).       :  Python, C++23, Rust  Java.      :     ,  , ,     .




 


     :        .     ,    1.2      ,   .




 17.   Python





17.1.   


 :       ,          ,      .          ,   :      .    -   .

    .  ()       ,    ,    .    ,    .         .

       (      ), -,  ,    MVC.




17.2.   











Mediator    .

Concrete Mediator       .

Colleague ,     .




17.3.  :  


 01_signup_form.py:










 17.1  :  










 17.1 ()  :  

.        :     changed(),  -   .          notify.        ,   .

             ,  ,   .  sender   ,   .




  .


   .

   ,     (https://www.litres.ru/book/aleksey-primak/posrednik-pattern-gof-na-python-c-23-rust-i-java-74810707/)  .

      Visa, MasterCard, Maestro,    ,   ,     ,  PayPal, WebMoney, ., QIWI ,       .


