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

Резултати

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

Търсене: #unitednations

当前筛选 #unitednations清除筛选
Venezuelanalysis

@venanalysis · Post #1758 · 27.09.2024 г., 13:47

Speaking at the 79th UN General Assembly, Venezuela’s Foreign Minister Yván Gil condemned a “large-scale recolonization plan” against Venezuela. He stated that unilateral sanctions have caused $642 billion in economic losses, and revealed the involvement of foreign nationals, including a US Navy SEAL, in a recent assassination plot against high-ranking officials. Read the full report here 👉🏼https://shorturl.at/cKAhy #UnitedNations#Sanctions

Venezuelanalysis

@venanalysis · Post #2117 · 29.09.2025 г., 20:09

📰 NEWS | Venezuelan Foreign Minister Condemns ‘Immoral Threats,’ Reaffirms Commitment to Peace in UN Speech Venezuelan Foreign Minister Yván Gil addressed the UNGA, condemning Washington’s “illegal and immoral” military threats and reaffirming Caracas’ commitment to peace and multilateralism. He rejected US “narcoterrorism” accusations against President Maduro, noting that UN and DEA reports contradict White House claims and confirm Venezuela is not a drug-producing country. Gil also expressed gratitude for support from allies such as Russia, China, BRICS, CELAC, and the Non-Aligned Movement. Read the full report here: https://shorturl.at/KETjO #UnitedNations#USMilitaryThreats

Venezuelanalysis

@venanalysis · Post #2048 · 31.07.2025 г., 20:12

📰 NEWS | Venezuela Condemns Decades of Occupation and US Complicity, Demands Justice for Palestine at UN At the UN High-Level Conference on the Question of Palestine, Venezuela reaffirmed its support for Palestinian statehood and denounced decades of Israeli occupation and US complicity. Representing the Group of Friends in Defense of the UN Charter, Venezuelan diplomat Joaquín Pérez called for Palestine’s full UN membership, an immediate ceasefire in Gaza, an end to US vetoes shielding Israel, and a halt to arms transfers. Caracas also urged accountability for war crimes and proposed a reconstruction plan coordinated with Palestinian authorities. The conference, held in New York, was boycotted by both the US and Israel. 🔗 Read the full report here: https://shorturl.at/aEjnG #Palestine#UnitedNations

Venezuelanalysis

@venanalysis · Post #1720 · 15.08.2024 г., 23:39

The four-person UN panel said that the lack of detailed results had a “negative impact on confidence in the [electoral] outcome” announced by the CNE. The electoral body accused the UN team of violating its agreement and carrying forward a "political agenda." Read the report: https://venezuelanalysis.com/news/venezuela-electoral-authorities-reject-un-experts-report-for-political-agenda/ #Venezuela#Elections2024#UnitedNations

Venezuelanalysis

@venanalysis · Post #2007 · 18.06.2025 г., 21:46

📰 NEWS | Venezuela Secures UN Recognition of ‘International Day Against Unilateral Coercive Measures’ The UN General Assembly approved a Venezuela-sponsored resolution establishing December 4 as the International Day Against Unilateral Coercive Measures, with 116 countries voting in favor. The initiative aims to raise awareness of the humanitarian consequences of sanctions, such as those imposed on Venezuela, which have led to severe economic losses and civilian deaths. 🔗 Full story here: https://shorturl.at/bcjMu #Sanctions#UnilateralCoerciveMeasures#UnitedNations

✋ ApaKhabar! RakanWisma 🇲🇾🌐 📌 Malaysia sekali lagi tersenarai dalam UN Honour Roll selepas melunaskan sepenuhnya sumbangan kewangan kepada bajet tetap Pertubuhan Bangsa-Bangsa Bersatu (PBB) bagi tahun 2026. 🌺 Ini mencerminkan sokongan berterusan Malaysia kepada PBB dan multilateralisme, selari dengan pendekatan Diplomasi MADANI. #WismaPutra#UnitedNations#PBB #MalaysiaMADANI#DiplomasiMADANI https://www.instagram.com/p/DUX9fgfk9Ds/?igsh=dHB1Yjk2ajA5NDVp

New Eastern Outlook FR

@neweasternoutlookfr · Post #9466 · 26.01.2026 г., 08:21

🇺🇸 🌍Le "Conseil de la Paix" de Trump et le théâtre du pouvoir incontrôlé Présenté comme un nouveau mécanisme audacieux de gestion des conflits mondiaux, le "Conseil de la Paix" de Donald Trump révèle au contraire l'érosion croissante de la gouvernance multilatérale et le remplacement de la légitimité par le spectacle ✍️Auteur :Phil Butler Enquêteur et analyste en politique, politologue et expert de l'Europe de l'Est ; auteur de Putin's Praetorians ➡️Le 20 janvier 2026, le président américain Donald Trump a dévoilé le soi-disant Conseil de la Paix, initialement présenté comme un organe chargé de superviser les efforts de cessez-le-feu et de reconstruction à Gaza. Presque immédiatement, cependant, l'initiative a élargi sa portée et son ambition, Trump suggérant qu'elle pourrait rivaliser - ou même remplacer - les Nations Unies. Les contradictions sont frappantes : un forum de paix autoproclamé intégré dans un financement opaque, des nominations controversées et une structure qui permettrait apparemment l'achat de sièges permanents pour de vastes sommes. Plutôt que de signaler une diplomatie coopérative, le Conseil projette une image d'autorité centralisée construite autour d'une influence personnelle plutôt que d'une responsabilité institutionnelle. Si le but de la construction de la paix est la réconciliation, la cohésion et une coopération durable, elle ne peut pas être construite sur des structures qui reflètent une autorité contestée par défaut ➡️Le Conseil de la Paix reflète un schéma plus large dans le comportement des États-Unis à l'échelle nationale et internationale. Des actions récentes - des mouvements interventionnistes au Venezuela à la rhétorique provocatrice sur le Groenland - suggèrent une volonté de contourner les normes et les contraintes établies en faveur d'instruments de pouvoir ad hoc. Dans ce contexte, le Conseil apparaît moins comme un mécanisme de construction de la paix et plus comme une cour symbolique d'autorité, où la loyauté et la richesse déterminent l'accès. Les critiques affirment que de telles structures imitent la forme de la gouvernance internationale tout en vidant sa substance, remplaçant le consensus par l'application et la légitimité par la coercition. 🟦Historiquement, les puissances déclinantes tentent souvent de préserver leur domination en créant des architectures parallèles qui affirment le contrôle sans un large soutien. Le Conseil de la Paix s'inscrit dans ce schéma : non un cadre durable pour la réconciliation, mais un symptôme de l'érosion institutionnelle et du pouvoir détaché. La construction de la paix enracinée dans la réconciliation et la coopération ne peut pas émerger d'une autorité contestée et d'une conception unilatérale. #DonaldTrump#Internationalpolitics#UnitedNations#USA LIRE PLUS (ENG) ✅@NewEasternOutlookFR

New Eastern Outlook

@neweasternoutlook · Post #12011 · 23.01.2026 г., 09:01

🇺🇸 🌍Trump's “Board of Peace” and the Theater of Unchecked Power Marketed as a bold new mechanism for global conflict management, Donald Trump’s “Board of Peace” instead exposes the growing erosion of multilateral governance and the substitution of legitimacy with spectacle ✍️Author:Phil Butler Policy investigator and analyst, political scientist, and expert on Eastern Europe; author of Putin’s Praetorians ➡️On January 20, 2026, US President Donald Trump unveiled the so-called Board of Peace, initially framed as a body to oversee ceasefire efforts and reconstruction in Gaza. Almost immediately, however, the initiative expanded in scope and ambition, with Trump suggesting it could rival—or even replace—the United Nations. The contradictions are striking: a self-proclaimed peace forum embedded in opaque financing, controversial appointments, and a structure reportedly allowing permanent seats to be purchased for vast sums. Rather than signaling cooperative diplomacy, the Board projects an image of centralized authority built around personal influence rather than institutional accountability. If the purpose of peacebuilding is reconciliation, cohesion, and durable cooperation, it cannot be built on structures that reflect contested authority as a default ➡️The Board of Peace reflects a broader pattern in US conduct at home and abroad. Recent actions—from interventionist moves in Venezuela to provocative rhetoric about Greenland—suggest a willingness to bypass established norms and constraints in favor of ad hoc instruments of power. In this context, the Board appears less as a peacebuilding mechanism and more as a symbolic court of authority, where loyalty and wealth determine access. Critics argue that such structures mimic the form of international governance while hollowing out its substance, replacing consensus with enforcement and legitimacy with coercion. 🟦Historically, declining powers often attempt to preserve dominance by creating parallel architectures that assert control without broad buy-in. The Board of Peace fits this pattern: not a durable framework for reconciliation, but a symptom of institutional erosion and unmoored power. Peacebuilding rooted in reconciliation and cooperation cannot emerge from contested authority and unilateral design. Instead, such initiatives risk accelerating fragmentation, undermining trust among allies, and reinforcing a world order governed more by assertion than by shared rules. #DonaldTrump#Internationalpolitics#UnitedNations#USA READ MORE ✅@NewEasternOutlook

Venezuelanalysis

@venanalysis · Post #1535 · 15.04.2024 г., 21:20

Venezuela joins voices citing Israel's actions in Palestine as a catalyst for Middle East instability, urging UN action. “As a result of the genocide in Palestine and the irrationality of the Israeli regime, as well as the inaction of the United Nations System, the situation of instability in the region has dramatically worsened in recent weeks,” read an official statement shared Saturday by Venezuelan Foreign Minister Yván Gil. Learn more here 👉🏼https://venezuelanalysis.com/news/venezuela-blames-israels-genocide-campaign-un-inaction-for-middle-east-escalation/ #Gaza#Iran#UnitedNations

ПредишнаСтр. 1 от 5Следваща