.  GoF  Python, C++23, Rust  Java
 


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





.  GoF  Python, C++23, Rust  Java








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




 


     :        .     ,    1.2      ,   .




 7.   Python





7.1.   


  .   ,   ,      ,  SMS   .       ,   : UrgentEmail, UrgentSms, DigestTelegram     ,      .   .

        : (    )  (    ).          .   - ,    ,    .




7.2.   











Abstraction  ,    .

Refined Abstraction  .

Implementor  ,   .

Concrete Implementor  .

    ,   :      ,    ,     .




7.3.  :   


 01_notifications.py:










 7.1  :   










 7.1 ()  :   

.        ,   .    :  ,     (Urgent , Digest ),    (SMS   ).  Telegram    ,        .




  .


   .

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

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


