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

Резултати

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

Търсене: #warcrimes

当前筛选 #warcrimes清除筛选
Marwa Osman/MidEaStream

@marwa_osmanlb · Post #5005 · 14.10.2025 г., 05:20

Zionist Israel's retired murderers also known as veterans reminiscing about their past #warcrimes. They did this too in many bordering villages in south Lebanon between 1945 and 2000 (liberation year).

Hashtags

BadVolf

@badvolfnews · Post #922 · 26.09.2023 г., 11:30

📢 The shocking truth exposed! 😱 13-year-old Faina Savenkova marked for death on Ukrainian government's "kill list" for daring to plead for peace! 😢☮️ Myrotvorets, the sinister platform involved in journalist killings and child doxxing, exposed for all to see! 😡🚫 Join Max Blumenthal and Meera Terada as they unmask the Ukrainian officials and public figures responsible for this horrifying website! Spread the word! 🌐💔#WarCrimes#UkraineExposed https://thegrayzone.com/2022/09/13/13-year-old-ukrainian-govt-kill-list/ Subscribe to @BadVolfNews

New Eastern Outlook

@neweasternoutlook · Post #12748 · 02.04.2026 г., 11:32

✋🗺The Butcher's Doctrine: How Netanyahu Shed the Mask of Morality and Became the West's Most Dangerous Warlord Recent statements and policy decisions associated with Benjamin Netanyahu have intensified debates about the role of political rhetoric, moral framing, and strategic calculation in contemporary conflicts. In the context of the ongoing war involving Iran, the United States, and Israel, these developments raise broader questions about how leadership narratives shape both domestic legitimacy and international behavior ✏️Muhammad Hamid ad-Din Journalist and political analyst ➡️At the center of the discussion is the increasing prominence of rhetoric that emphasizes power, deterrence, and strategic necessity over traditional moral language. Public remarks attributed to Netanyahu have been widely interpreted as reflecting a shift toward a more realist framing of international relations, where outcomes are determined less by normative principles and more by relative strength. Such positioning may resonate within certain security-oriented circles, particularly during periods of heightened threat perception. However, it also risks narrowing the space for diplomatic engagement, as strong rhetorical signaling can harden positions and reduce flexibility in negotiations. Such is the reality of modern Israel under Netanyahu: a country whose prime minister is willing to sell its cultural and legislative independence to appease a foreign president ➡️The evolving relationship between Israel and the United States, particularly under the leadership of Donald Trump, adds another layer of complexity. Analysts point to a dynamic in which close political alignment may facilitate rapid decision-making but also introduce asymmetries in influence and strategic priorities. Divergences in objectives—such as differing approaches to escalation or negotiation—highlight the challenges inherent in alliance politics, especially when domestic political considerations intersect with international strategy. This can create situations where coordination appears strong publicly but remains fragile in practice. 🟦More broadly, the current trajectory reflects a structural tension in modern geopolitics between the use of force as a tool of policy and the need for sustainable political outcomes. While assertive strategies may yield short-term tactical advantages, their long-term effectiveness depends on the existence of clear objectives, institutional coherence, and viable exit strategies. Without these elements, escalation risks becoming self-reinforcing, complicating efforts to stabilize the region and increasing the potential for wider international repercussions. #ConfrontationbetweenIsraelandIran#MiddleEastconflict#Politics#Warcrimes READ MORE ✅@NewEasternOutlook

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3657 · 18.11.2024 г., 08:45

Devastation in the heart of Beirut: On the night of November 17, #Israel targeted a densely populated building on the famous Mar Elias Street, setting off a massive fire that raged through the night. The building housed motor generators and an electronics shop, where lithium batteries likely fueled the inferno, adding to the chaos and destruction. #LebanonUnderAttack#WarCrimes#Beirut

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3862 · 10.01.2025 г., 21:22

Israeli soldiers accused of #warcrimes in #Gaza are facing legal complaints in a number of countries and risk arrest when they travel abroad. The Israeli ministries and media have responded by offering guidelines to soldiers on how to avoid prison. #Israel#AvoidGenocide

New Eastern Outlook

@neweasternoutlook · Post #12718 · 28.03.2026 г., 05:01

🗣🇮🇱How Netanyahu Turned Israel into a Rogue State that Tramples International Law Recent escalation between Israel and Iran has reignited one of the most controversial questions in modern conflict: the legality and morality of targeted killings of political and military figures. Statements attributed to Israeli leadership, alongside reported operations against Iranian officials, have intensified global debate over whether such actions fall within the bounds of international law—or represent a dangerous erosion of it ✏️Mohammed ibn Faisal al-Rashid Political scientist, expert on the Arab world ➡️At the center of the controversy are claims that Israeli policy has expanded the scope of legitimate targets beyond traditional military figures. Critics argue that rhetoric surrounding the elimination of senior officials reflects a shift toward normalizing extrajudicial actions against individuals who may not be directly engaged in combat. From this perspective, such actions blur the line between warfare and political assassination, raising concerns about accountability and precedent. Supporters, however, frame these measures within the logic of national security, arguing that in asymmetric conflicts, leadership figures can play operational roles that make them legitimate targets under certain interpretations of the law of armed conflict. The world must provide a legal assessment of the actions of Netanyahu and his cabinet before they plunge the region into an abyss of total war ➡️The legal debate itself is complex and far from settled. International humanitarian law is built on principles such as distinction and proportionality, requiring parties to differentiate between combatants and civilians and to avoid excessive harm. Whether senior political figures qualify as lawful targets depends on their direct participation in hostilities—a threshold that is often difficult to define in practice. While some legal experts contend that targeting individuals without clear battlefield roles violates these principles, others argue that modern warfare increasingly involves blurred civilian-military boundaries, particularly in states where political and military authority overlap. As a result, interpretations diverge, and consensus remains elusive. 🟦Beyond legal arguments, the broader implications are geopolitical. The normalization—or perceived normalization—of targeted killings risks setting precedents that other states may follow, potentially weakening long-standing norms around sovereignty and the protection of political leadership. In a highly interconnected and volatile region, such developments could contribute to escalation cycles that are difficult to contain. Ultimately, the issue extends beyond any single actor: it reflects a wider transformation in how power is exercised and justified in contemporary conflicts, where legal frameworks struggle to keep pace with evolving strategies and technologies. #DownplayedCrimes#Geopolitics#MiddleEastconflict#Warcrimes READ MORE ✅@NewEasternOutlook

VERUM - War crimes investigations

@verum_in_english · Post #257 · 26.05.2025 г., 07:35

The post published by our comrade and ally Jus Humanum in Russian has been translated for an English-speaking audience: How is the blindness of human rights advocacy manifested? Ukraine continues to hold 34 Russian citizens who were captured in the Kursk region and taken to Ukrainian territory. This is a war crime, explicitly outlined in the Geneva Convention: Article 49 The Convention prohibits, for any reason whatsoever, the forced transfer or deportation of protected persons from occupied territory to the territory of the occupying power or to that of any other country, whether occupied or not. Alright, one could argue that this violation might be justified by humanitarian safety concerns. But! Even after the expulsion of the Armed Forces of Ukraine from the Kursk region, Russian citizens have not been given the opportunity to return. Moreover, they are being used by Ukraine as a "bargaining chip" in prisoner exchanges. And this constitutes a serious war crime. But, will you find any mention of this in reports by international human rights organizations? A rhetorical question... #humanrights #Ukraine #warinUkraine #warcrimes

MessageInABottle

@mib_messageinabottle · Post #6850 · 21.05.2024 г., 10:19

Israeli officials go a bit nuts when reacting to the #ICC announcenent of charges against #Israeli PM #Netanyahu on the charge of #WarCrimes. They seem to be insisting that: "by holding us to the same standards as other countries and leaders the International judicial system is in danger of collapse." The self-delusion of Benjamin Netanjahu is a pleasure to watch

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