.  GoF  Python, C++23, Rust  Java
 


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





.  GoF  Python, C++23, Rust  Java








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




 


     :        .     ,    1.2      ,   .




 14.   Python





14.1.   


    ,   ,         .  .  ,           .    ,       .   ,     .

    :  ,      .      ,   ,   , ,        .

 Python    ,        functools.partial.  ,      : , , .




14.2.   











Command   ( ).

Concrete Command    .

Receiver ,    .

Invoker     .

Client     .




14.3.  :   


 01_editor.py:










 14.1  :   










 14.1 ()  :   










 14.1 ()  :   

.  ,   . Delete          .    :    .     ,     .               ,    execute  undo.




  .


   .

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

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


