Паттерн Декоратор — специальный способ организации модулей в программе, который позволяет подставить какую-то новую функцию прямо в середину цепочки вызовов, тем самым чуть-чуть подкорректировав поведение.
Например, в реальном мире очки для чтения это декоратор. Вы ставите их между вашими глазами и текстом. Глобально взаимодействие ваших глаз и текста не меняется: отражённые световые лучи от страницы книги попадают в ваши зрачки, что с очками, что без них. Но очки располагаются посередине: они принимают лучи на вход и преломляют их, передавая дальше вам в глаза уже изменёнными.
Важной особенностью является тот факт, что очки можно снять. Они не требуют ни модификации вашего тела, ни модификации книги. Вообще никакие условия не нужны, кроме наличия самих очков. А если вы в линзах, то внешний наблюдатель может даже этого не знать.
Класс-декоратор должен быть спроектирован так, чтобы не требовать никаких изменений в объектах, с которыми он работает. Его можно отключить, чаще всего буквально закомментировав одну строку.
В примере ниже программа выведет текст "Привет, мир, в натуре.", и вот это дополнение в конце как раз дописано декоратором. Можно убрать или закомментировать подчёркнутую строчку, не трогая остальной код, для всех внешних вызовов сигнатуры останутся теми же самыми, но выводиться будет уже просто "Привет, мир".
В декораторы можно прятать логику, которую буквально навешивают поверх основной функции программы. Например, проверку прав на выполнение операции. Перевод на другой язык, логирование, поддержку обратной совместимости при обновлении и так далее.
#dev
🇲🇱#Rosatom et le gouvernement du #Mali mènent des négociations sur une coopération énergétique à long terme, a déclaré Olga Oukhanova, directrice générale adjointe par intérim chargée de la réglementation technique et normative chez Rosatom.
Likhatchov et Grossi à Moscou ont discuté de la situation à la centrale nucléaire de Zaporojié
Une réunion s’est tenu le 7 février à Moscou entre le Directeur général de l'Agence russe de l'énergie atomique, #ROSATOM, et le chef de l’Agence internationale de l'énergie atomique. Au menu des échanges : la sécurité des sites proches de la ligne de front en #Ukraine. Les détails et les enjeux de cette rencontre avec Antoine Cléraux.
RT en français • Osez questionner !
🗓 On March 11, Russian State Atomic Energy Corporation #Rosatom jointly with the ASEAN Secretariat and the ASEAN Centre for Energy (#ACE) held a webinar titled “Development of National Civilian Nuclear Energy Programs in ASEAN Member States".
🔹️The event brought together representatives of government authorities, industry organizations, energy companies, and experts to discuss key aspects of nuclear energy deployment in the region.
🔹️Opening remarks were delivered by H.E. Mr. Evgeny Zagaynov, Ambassador of the Russian Federation to ASEAN and Dato’ Razib Dawood, Executive Director of the ASEAN Centre for Energy (#ACE).
🔹️Expert insights on the development of nuclear energy in ASEAN countries and worldwide were shared by King Lee, Head of Policy and Industry Engagement at the World Nuclear Association (WNA); Senda Hurmuzan Kanam🇮🇩, Director of the New and Renewable Energy Department of the Ministry of Energy and Mineral Resources of Indonesia; Patrick Aquino🇵🇭, Director of the Energy Utilization Management Bureau at the Department of Energy of the Philippines; as well as Susan Aksoy🇹🇷, Plant Design Department Manager at Turkiye Nuclear Energy Company.
“ASEAN Member States are considering nuclear energy as one of the options for decarbonizing their energy systems and meeting growing energy demand. Within the priorities of civil nuclear energy outlined in the APAEC, particular attention is given to improving nuclear literacy and public engagement, developing human capital, and strengthening regional and international partnerships for knowledge exchange and capacity building in nuclear science and technology.”
said Dato' Razib Dawood, Executive Director of the ASEAN Centre for Energy (ACE).
🔹️Special attention during the webinar was given to Russia’s expertise and recognized capabilities in nuclear technologies. Mr. Alexander Tsibulya🇷🇺, a representative of Rosatom, spoke about the advantages of Russian nuclear technological solutions. The webinar also reviewed practical case studies of newcomer countries in nuclear energy, demonstrating different approaches to launching and implementing national nuclear programs, as well as the commercial and socio-economic benefits of developing nuclear power generation.
🗓On October 16, ASEAN Centre for Energy (#ACE) and State Atomic Energy Corporation #Rosatom signed a Memorandum of understanding at the ASEAN Energy Business Forum (AEBF-2025) in Kuala Lumpur 🇲🇾.
🔹️The document aims to promote cooperation between the two parties in the peaceful use of nuclear energy and sets the parties' commitment to strengthening their partnerships in the nuclear energy industry in Southeast Asia. This includes increasing public awareness of nuclear technologies and their applications, as well as developing scientific and human resources.
🔹️The agreement was signed by Mr. Razib Dawood, Executive Director of ASEAN Centre for Energy, and Mr. Vadim Titov, Director General of Rosatom International Network.
🔹️Within the framework of the forum, a joint plenary session of Rosatom and ASEAN ACE "The Role of Nuclear Energy in ASEAN's Energy Transition" was held with the participation of representatives from Malaysia, Indonesia, the Philippines and international organizations: the BRICS Atomic Energy Platform, the World Nuclear Association (WNA), as well as the TUNAŞ Energy Corporation (Türkiye).
🔹️On behalf of Rosatom, the session was attended by Mr. Andrey Nikipelov, Deputy Director General for Engineering and Industrial Solutions at Rosatom. The event served as a platform for the exchange of experience between ASEAN countries and their partners in the development and implementation of national nuclear energy programs.
🗓On October 16, ASEAN Centre for Energy (#ACE) and State Atomic Energy Corporation #Rosatom signed a Memorandum of understanding at the ASEAN Energy Business Forum (AEBF-2025) in Kuala Lumpur 🇲🇾.
🔹️The document aims to promote cooperation between the two parties in the peaceful use of nuclear energy and sets the parties' commitment to strengthening their partnerships in the nuclear energy industry in Southeast Asia. This includes increasing public awareness of nuclear technologies and their applications, as well as developing scientific and human resources.
🔹️The agreement was signed by Mr. Razib Dawood, Executive Director of ASEAN Centre for Energy, and Mr. Vadim Titov, Director General of Rosatom International Network.
🔹️Within the framework of the forum, a joint plenary session of Rosatom and ASEAN ACE "The Role of Nuclear Energy in ASEAN's Energy Transition" was held with the participation of representatives from Malaysia, Indonesia, the Philippines and international organizations: the BRICS Atomic Energy Platform, the World Nuclear Association (WNA), as well as the TUNAŞ Energy Corporation (Türkiye).
🔹️On behalf of Rosatom, the session was attended by Mr. Andrey Nikipelov, Deputy Director General for Engineering and Industrial Solutions at Rosatom. The event served as a platform for the exchange of experience between ASEAN countries and their partners in the development and implementation of national nuclear energy programs.
Les chefs de l’#AIEA et de #Rosatom se sont rencontrés à Kaliningrad
Une réunion s’est tenue ce 6 juin à Kaliningrad, en Russie, entre le directeur général de l’Agence russe de l’énergie atomique et le directeur de l’Agence internationale de l’énergie atomique. Au cœur de leurs échanges figuraient la sécurité des installations situées à proximité de la ligne de front en Ukraine, ainsi que la protection des travailleurs présents sur ces sites. Les détails de cette rencontre avec Antoine Cléraux.
RT en français • Osez questionner !
Ядролық отынды қайта өңдеу процесі қалай жұмыс істейді?
ВНИИНМ АҚ радиохимиялық технологиялар бөлімінің аға ғылыми қызметкері Елизавета Филимонова жауап берді.
_ _ _
Как работает процесс переработки ядерного топлива?
Отвечает Елизавета Филимонова, старший научный сотрудник отдела радиохимических технологий АО ВНИИНМ.
#rosatom#ядерноетопливо
II Халықаралық Жастар ядролық форумы аяқталды «Обнинск NEW»
«Росатом» 100 елдің 900-ден астам өкілдерімен бірге әлемдік энергетиканың тұрақты дамуы үшін кадрлар даярлау мәселелерін талқылады.
💬💬💬
Завершился II Международный молодежный ядерный форум «Обнинск NEW»
«Росатом» вместе с более чем 900 представителями 100 стран обсудили вопросы подготовки кадров для устойчивого развития мировой энергетики.
#Rosatom#ОбнинскNEW
Oʻzbekiston Respublikasi Prezidenti Shavkat Mirziyoyev “Rosatom” atom energiyasi boʻyicha davlat korporatsiyasi bosh direktori Aleksey Lixachyovni qabul qildi.
—
Президент Республики Узбекистан Шавкат Мирзиёев принял генерального директора Государственной корпорации по атомной энергии «Росатом» Алексея Лихачёва.
#Mirziyoyev#qabul#Rosatom#hamkorlik
Prezident.uz|Facebook|Instagram|YouTube|X
⚛️#Rosatom a l’intention de poursuivre la construction de la centrale nucléaire de Bouchehr, a déclaré Mikhaïl Oulianov, représentant permanent de la #Russie auprès des organisations internationales à Vienne. Le personnel retournera sur le site « dès que la situation militaire le permettra », a-t-il précisé.
ℹ️ La centrale nucléaire de #Bouchehr est la seule exploitation en Iran. Les employés travaillaient à la construction des deuxième et troisième réacteurs, mais les travaux ont été suspendus par le lancement de l'opération militaire américano-israélienne contre l'Iran. Le 20 avril, Rosatom a achevé l'évacuation de ses 632 employés.
RT en français • Osez questionner !
⚛️Rosatom entend poursuivre la construction de la centrale nucléaire de Bushehr, a déclaré Mikhaïl Oulianov, représentant permanent de la #Russie auprès des organisations internationales à Vienne. Il a précisé que le personnel retournera sur le site « dès que la situation militaire le permettra ».
ℹ️ La centrale nucléaire de #Bushehr est la seule centrale nucléaire en exploitation en Iran. Les employés de #Rosatom travaillaient à la construction des deuxième et troisième réacteurs, mais les travaux ont été suspendus suite au lancement de l'opération militaire américano-israélienne contre l'Iran. Le 20 avril, l'évacuation des 632 employés de la société d'État a été achevée.
RT en français • Osez questionner !
Rosatom is establishing cooperation with DRC
Nikolay Spassky, Director of the International Activities Unit of the Rosatom State Corporation, paid a working visit to the DRC.
In the republic he held talks with the Minister of Energy and Water Resources Emile Wasso and Prime Minister of the Congo Anatole Colline Makosso.
The parties signed memoranda of cooperation in the field of peaceful use of atomic energy and hydropower. Spassky noted that now it is necessary to consistently promote the Russian-Congolese partnership in the energy sector.
#Africa#Congo#Rosatom