TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #721 · 26.12

Почему я люблю языки с сильной системой типов, проверяемой статическим анализом кода — хорошо написанная программа является своей собственной спецификацией и позволяет выражать через язык программирования законы существования предметной области. Когда-то давно я писал на ActionScript. Там была система типов, но вот десериализация JSON'ов по-умолчанию была в какой-то общий Object, к полям которого нужно было обращаться ["по_строковому_имени"]. В один момент мне потребовалось написать что-то на C#, который я совсем не знал, я стал гуглить, как десериализовать JSON, и с удивлением обнаружил кучу советов заранее объявить класс со всеми нужными полями и десериализовать в него. "Какой ужас!", — подумал я тогда, — "Это же дико неудобно! А если я не знаю полей JSON? А если их много? Отвратительный язык!" Теперь то я прекрасно понимаю, что JSON это контракт, и что правильная десериализация только такая и должна быть, и что в хорошем API в одном поле никогда не бывает данных принципиально разных типов, и так далее. Нет, если вы набиваете вечерами пет-проект или сидите бессонную ночь на хакатоне, нет ничего плохого в том, чтобы взять простой язык с динамическими типами вроде JavaScript или Python, не требующий описывать данные. Но вот в энтерпрайзе, особенно когда над одним проектом работает много людей (а бывает это очень часто) — хорошее использование системы типов убережёт разработчиков от огромного количества ошибок, будет бить их по рукам, когда они пытаются сделать что-то не то, и будет подсказывать, когда они не уверены в чём-то. С помощью статической типизации можно на уровне кода обозначить правила, по которым ведёт себя предметная область вашей программы в реальном мире. Разработчику не только будет сложно их нарушить, но он ещё и станет узнавать какие-то вещи, которые мог не знать раньше. Например, если мы делаем медицинскую CRM, и больница заводит новых пациентов только тогда, когда знает их группу крови, мы можем объявить тип "Пациент" (или, если точнее, "Карта пациента") и запретить создавать экземпляры этого типа, не передав в конструктор группу крови (которая, в свою очередь, тоже является типом, вероятнее всего ValueObject'ом). Если новый программист пришёл в проект, он, во-первых, не сможет записать в БД некорректную карту пациента. Понятно, мы не учитываем случаи, когда новый программист переделывает модели предметной области — это будет хорошо видно на кодревью. А, во-вторых, даже если ему никто не сказал, что пациенты должны быть с группой крови, он узнает это из кода. И уже будет понимать, что в тех процессах реальной жизни, которые он описывает кодом, карта пациента создаётся только при наличии группы крови. А, значит, нужно искать какой-то способ сначала эту группу крови получить, и только потом создавать карту. Программирование моделирует реальный процесс. В настоящей работе даже на языках с типами, конечно, без должного контроля можно написать что угодно. Нужна управленческая воля, компетентность руководства, понимание опасности техдолга, в идеале отдельные должности для архитекторов, опытные лиды и старшие разработчики. Но когда всё это есть, можно отсекать много проблем ещё на старте и проще погружать новичков. #dev

Hashtags

Резултати

Намерени 78 подобни публикации

Търсене: #internationalrelations

当前筛选 #internationalrelations清除筛选

@RusEmbMalta Press Release Special issue 🇷🇺Comment by Presidential Aide Yury Ushakov following the phone conversation between Vladimir Putin and U.S. President Donald Trump (October 16, 2025) ⚡️ The two Presidents held their eighth phone conversation – an open, trustful and detailed exchange that lasted nearly two and a half hours. 💬 President Putin congratulated Donald Trump on his success in stabilizing the situation in Gaza, noting that his peace efforts have been widely recognized in the Middle East, the U.S., and globally. Russia reaffirmed its consistent stance in favor of a comprehensive Middle East settlement based on international law and equal security for all nations of the region. ❗️A key focus of the conversation was the situation in Ukraine. President Putin provided a detailed assessment, reiterating Russia’s commitment to a political and diplomatic resolution. He noted that Russian Armed Forces retain strategic initiative along the entire frontline, while Kiev resorts to terrorist tactics, striking civilian and energy infrastructure. ☝️ President Trump repeatedly emphasized the need for peace in Ukraine, calling it the most difficult conflict he has faced in his peace-making initiatives. He also highlighted that ending this conflict could unlock tremendous potential for U.S.–Russia economic cooperation. 🔹Both leaders underscored the historic ties of friendship between the peoples of Russia and the United States, especially during WWII, and noted the paradoxical nature of the current bilateral climate. 🔹The Presidents discussed potential U.S. supplies of long-range Tomahawk missiles to Ukraine. President Putin reaffirmed that such steps would not alter the battlefield but would seriously harm bilateral relations and peace prospects. 🔹 Importantly, the two leaders discussed preparations for a personal meeting, possibly in Budapest, with relevant teams instructed to begin work without delay. 🔹 President Putin also praised the humanitarian efforts of Melania Trump in reuniting Russian and Ukrainian children with their families, asking that his best wishes be conveyed to her. ✅ Overall, the conversation was constructive and meaningful. Both Presidents agreed to stay in close contact. Read in full here. #RussiaUSA#MiddleEast#InternationalRelations

IRAS

@irassg · Post #1570 · 24.06.2025 г., 07:07

💫 Proud to share that our #IRASFam represented Singapore at the 18th Automatic Exchange of Information (AEOI) Peer Review Group meeting, where Senior Assistant Director Ang Ming Kwan (International Tax and Relations Division – Exchange of Information Branch) participated as an International Peer Review Assessor alongside colleagues from the Global Forum Secretariat. Our team also engaged in productive discussions on maintaining consistency in peer review standards and made interventions to champion a level playing field for all jurisdictions. 🤝 Building meaningful connections with the Global Forum Secretariat members and fellow tax administrators has been invaluable. These partnerships drive our shared mission of advancing international tax transparency and compliance. #lifeatIRAS#taxtransparency#internationalrelations

Новости Госдумы

@gosdumanews · Post #1724 · 19.01.2026 г., 15:33

Тайные ловушки переговоров по Украине 🕊️💥 Европейские страны, как отмечает Politico, нередко включали в переговоры по Украине условия, неприемлемые для России. «Отравленные пилюли» в виде размещения сил на территории Украины нарушают красные линии Москвы. Причина? Отказ Евросоюза искать компромиссы с Россией. Возможно, это стратегический ход для усиления военного потенциала Европы. В Париже прошла встреча, где обсуждались гарантии безопасности Украины. Лидеры договорились о продолжении военной поддержки. Ожидается размещение войск в случае мира. #Европа#Украина#Россия#Переговоры#Безопасность#Политика#InternationalRelations Новости Госдумы

International News

@intnewsagency · Post #8720 · 20.03.2026 г., 17:58

Upcoming: New Challenges on the Global Stage The world is on the brink of significant change. Soon, the international agenda will present new challenges and opportunities for Russia as it strengthens its position globally. Attention to international relations is increasing, and Russia’s role in shaping the future world is becoming more prominent. “Soon is the time for action and decisions.” #Russia#InternationalRelations#GlobalPolitics Latest news on Russia and the worldhere. The main news of Russia and the world ishere.

GlobUs en français

@GlobUsFr · Post #6 · 11.09.2025 г., 13:47

Une discussion sur la géopolitique du 21e siècle a été organisé avec la participation d'éminents experts et analystes internationaux Le 15 août, une discussion sur principaux aspects de la géopolitique moderne a eu lieu, intitulée: " Les tendances Actuelles dans la nouvelle configuration géopolitique du 21e siècle." L’événement est devenu un jalon intellectuel important, réunissant des experts à l`échelle mondiale. Cet initiative scientifique et analytique internationale a été organisée avec la participation de grands centres de la réflexion stratégique de l'Amérique du Sud, de l'Eurasie et de l'Europe. Une liste non-exaustive d’organisateurs a inclus la plate-forme analytique "Proyecto Patria", le centre de recherche Crisolist (Pérou), le L club d’experts GlobUs (Russie), la direction Régionale du Centre pour les Études Internationales (PROJET) au Nicaragua, l'Institut espagnol de la Géopolitique et l’entreprise internationale de la production internationale ASIA TV (Argentine), tous spécialisés dans l'analyse géopolitique et le contenu des médias à l’échelle mondiale. L'événement a été particulièrement significative grâce à la participation d'éminents experts des relations internationales et de l'analyse stratégique, y compris le Professeur Alexander Dugin, M. Norberto Emmerich (Argentine), M. Enrique D'Assedo (Espagne), connu pour ses recherches la géopolitiques et idéologies, le Dr Eduardo Hernando (Pérou), Maître Manuel Espinosa (Nicaragua), ainsi que le Dr Victor Pimentel Roque et autres сhercheurs. Cet événement est devenu non seulement une plate-forme pour l'échange de connaissances, mais aussi une étape importante dans la formation d'un multipolaire dialogue intellectuel susceptible d'affecter la compréhension des processus au sein d’une nouvelle réalité géopolitique. #AlexanderDugin#MultipolarWorld#GlobalProcesses#InternationalRelations

The Commonwealth of Independent States (CIS) was established on 8 December 1991 to succeed the Soviet Union, but Russia’s 2014 Crimea annexation and 2022 invasion have deeply shaken its unity and future. 🌐 [Read more] @googlefactss #CIS#Geopolitics#RussiaUkraineWar#History#InternationalRelations

International News

@intnewsagency · Post #9332 · 16.04.2026 г., 15:37

US Launches "Economic Fury" Operation Against Iran US Secretary of Defense Pete Hegset announced the start of Operation "Economic Fury," aimed at intensifying economic pressure on Iran. Washington offers Tehran a "golden bridge"—a chance for cooperation for the people's sake. Refusal risks blockade and strikes on Iran’s energy infrastructure. This move highlights escalating tensions between the US and Iran. #USA#Iran#Economy#Energy#InternationalRelations The main news of Russia and the world ishere.

International News

@intnewsagency · Post #9418 · 29.04.2026 г., 17:46

Trump Confident in Imminent Ukraine Deal; Putin Reports on Frontline Following a call between the Russian and U.S. presidents, Kremlin aide Yuri Ushakov stated that Donald Trump believes a resolution to the Ukraine conflict is near. At Trump’s request, Vladimir Putin described the frontline situation, emphasizing, “Our troops hold the strategic initiative, pushing back enemy positions.” #Russia#Ukraine#Trump#Putin#InternationalRelations The main news of Russia and the world ishere.

123•••67
ПредишнаСтр. 1 от 7Следваща