@WorldNews · Post #74399 · 27.04.2026 г., 02:24
Iran offers U.S. deal to reopen strait but postpone nuclear talks [Read FullArticle] @WorldNews#IranDeal#USIranRelations#GlobalNews
TGINSIGHT SIMILAR POSTS
Изходен канал @clockstackwheels · Post #721 · 26.12
Почему я люблю языки с сильной системой типов, проверяемой статическим анализом кода — хорошо написанная программа является своей собственной спецификацией и позволяет выражать через язык программирования законы существования предметной области. Когда-то давно я писал на ActionScript. Там была система типов, но вот десериализация JSON'ов по-умолчанию была в какой-то общий Object, к полям которого нужно было обращаться ["по_строковому_имени"]. В один момент мне потребовалось написать что-то на C#, который я совсем не знал, я стал гуглить, как десериализовать JSON, и с удивлением обнаружил кучу советов заранее объявить класс со всеми нужными полями и десериализовать в него. "Какой ужас!", — подумал я тогда, — "Это же дико неудобно! А если я не знаю полей JSON? А если их много? Отвратительный язык!" Теперь то я прекрасно понимаю, что JSON это контракт, и что правильная десериализация только такая и должна быть, и что в хорошем API в одном поле никогда не бывает данных принципиально разных типов, и так далее. Нет, если вы набиваете вечерами пет-проект или сидите бессонную ночь на хакатоне, нет ничего плохого в том, чтобы взять простой язык с динамическими типами вроде JavaScript или Python, не требующий описывать данные. Но вот в энтерпрайзе, особенно когда над одним проектом работает много людей (а бывает это очень часто) — хорошее использование системы типов убережёт разработчиков от огромного количества ошибок, будет бить их по рукам, когда они пытаются сделать что-то не то, и будет подсказывать, когда они не уверены в чём-то. С помощью статической типизации можно на уровне кода обозначить правила, по которым ведёт себя предметная область вашей программы в реальном мире. Разработчику не только будет сложно их нарушить, но он ещё и станет узнавать какие-то вещи, которые мог не знать раньше. Например, если мы делаем медицинскую CRM, и больница заводит новых пациентов только тогда, когда знает их группу крови, мы можем объявить тип "Пациент" (или, если точнее, "Карта пациента") и запретить создавать экземпляры этого типа, не передав в конструктор группу крови (которая, в свою очередь, тоже является типом, вероятнее всего ValueObject'ом). Если новый программист пришёл в проект, он, во-первых, не сможет записать в БД некорректную карту пациента. Понятно, мы не учитываем случаи, когда новый программист переделывает модели предметной области — это будет хорошо видно на кодревью. А, во-вторых, даже если ему никто не сказал, что пациенты должны быть с группой крови, он узнает это из кода. И уже будет понимать, что в тех процессах реальной жизни, которые он описывает кодом, карта пациента создаётся только при наличии группы крови. А, значит, нужно искать какой-то способ сначала эту группу крови получить, и только потом создавать карту. Программирование моделирует реальный процесс. В настоящей работе даже на языках с типами, конечно, без должного контроля можно написать что угодно. Нужна управленческая воля, компетентность руководства, понимание опасности техдолга, в идеале отдельные должности для архитекторов, опытные лиды и старшие разработчики. Но когда всё это есть, можно отсекать много проблем ещё на старте и проще погружать новичков. #dev
Hashtags
Търсене: #usiranrelations
@WorldNews · Post #74399 · 27.04.2026 г., 02:24
Iran offers U.S. deal to reopen strait but postpone nuclear talks [Read FullArticle] @WorldNews#IranDeal#USIranRelations#GlobalNews
@WorldNews · Post #73923 · 06.04.2026 г., 21:09
‘They’re Gonna Pay a Big Price’: Trump Wildly Claims US Guns Sent to Iran Were Kept by the Wrong People [Read FullArticle] @WorldNews#TrumpNews#USIranRelations#GunsTradeScandal
@WorldNews · Post #73703 · 29.03.2026 г., 18:54
European allies say Russia is helping Iran more than the U.S. has acknowledged, sources say [Read FullArticle] @WorldNews#RussiaIran#EuropeNews#USIranRelations
@CryptoM · Post #65258 · 12.04.2026 г., 11:33
🚀 Iranian Officials Predict Changes in Strait of Hormuz Dynamics Iranian negotiation team member Nabawian stated on the 12th that the Strait of Hormuz is expected to undergo significant changes. According to NS3.AI, Ali Nikzad, Deputy Speaker of the Iranian Islamic Parliament, emphasized that the United States should understand that diplomacy requires respect, interaction, and acceptance of reality. #Iran#StraitOfHormuz#Diplomacy#USIranRelations#MiddleEastPolitics
@CryptoM · Post #65209 · 12.04.2026 г., 02:07
🚀 Bitcoin Drops 2% Amid U.S.-Iran Negotiation Stalemate Bitcoin experienced a decline of approximately 2%, settling around $71,600 following a statement by Vice President J.D. Vance. According to NS3.AI, the announcement revealed that U.S. and Iranian negotiators were unable to reach an agreement on extending a ceasefire. This development occurred after a nearly six-week U.S. campaign against Iran, with talks taking place in Pakistan. In the wake of Vance's press conference, Ethereum (ETH) also saw a decrease, falling to about $2,200. XRP dropped to $1.33, and the CoinDesk 20 index fell to 1,188.52. The market's reaction highlights the sensitivity of cryptocurrency prices to geopolitical events and negotiations. #Bitcoin#Ethereum#XRP#Cryptocurrency#USIranRelations#Geopolitics#MarketUpdate#CryptoNews#BTC#ETH
@CryptoM · Post #64694 · 09.04.2026 г., 14:31
🚀 U.S. President Trump May Impose New Iran-Related Duties U.S. President Donald Trump has the authority to impose new duties related to Iran under an emergency law, according to his top economic adviser. Bloomberg posted on X that this development follows a previous Supreme Court ruling that the law could not be used to impose tariffs. The potential move could have significant implications for U.S.-Iran relations and international trade dynamics. #US#Trump#Iran#Tariffs#InternationalTrade#USIranRelations#Economy
@CryptoM · Post #65239 · 12.04.2026 г., 07:53
🚀 Iran Asserts Control Over Strait of Hormuz, Demands Transit Fees in Rials Iran's deputy speaker of the Islamic Consultative Assembly, Haji Babaei, has issued a warning to the United States regarding the strategic Strait of Hormuz, declaring it a 'red line' under Iran's full control. According to NS3.AI, Babaei emphasized that transit fees through the strait must be paid in Iranian rials. Mehr News Agency reported that the majority of Iranian parliament members back the plan concerning the Strait of Hormuz, highlighting its significance in regional geopolitics. #Iran#StraitOfHormuz#Geopolitics#TransitFees#MiddleEast#IranianParliament#USIranRelations
@CryptoM · Post #64843 · 10.04.2026 г., 03:34
🚀 Iranian Officials Remain in Tehran Amid Regional Tensions Iranian Foreign Minister Araghchi and Speaker Qalibaf have not left Iran, according to Odaily. Both officials are currently in Tehran, actively fulfilling their national duties amid evolving regional circumstances. A source stated that reports of an Iranian negotiation team arriving in Islamabad for talks with the U.S. are entirely false. The source emphasized that negotiations will remain stalled as long as the U.S. does not fulfill its ceasefire commitments in Lebanon and the Zionist regime continues its attacks. Previously, The Wall Street Journal claimed that an Iranian delegation arrived in Islamabad on Thursday night. #Iran#Tehran#RegionalTensions#Diplomacy#MiddleEast#USIranRelations#Lebanon#ZionistRegime
@CryptoM · Post #65300 · 12.04.2026 г., 16:22
🚀 John Bolton Advocates for Blockade Following Failed Iran Peace Talks Former U.S. National Security Advisor John Bolton has suggested that a blockade could be a sensible approach after peace negotiations with Iran did not succeed. Bloomberg posted on X, highlighting Bolton's comments made during a discussion with journalists Eena Ruffini and Tim Steno. Bolton's remarks come amid ongoing tensions between the U.S. and Iran, following unsuccessful diplomatic efforts to resolve disputes. The former advisor's stance reflects a more aggressive strategy in dealing with Iran, as diplomatic channels have yet to yield positive results. #JohnBolton#Iran#USIranRelations#Blockade#Diplomacy#PeaceTalks#InternationalRelations#MiddleEast#USPolitics#ForeignPolicy
@CryptoM · Post #65062 · 10.04.2026 г., 17:45
🚀 Iran's Leadership Revamp Amid Peace Talks with the US The ongoing conflict in Iran has prompted significant changes in the nation's leadership structure. Bloomberg posted on X that the Revolutionary Guards are set to play a pivotal role in the upcoming peace negotiations with the United States this weekend. This shift in power dynamics underscores the growing influence of the Revolutionary Guards in Iran's political landscape. The talks are expected to address key issues surrounding the conflict and aim to establish a framework for peace. Observers are closely watching how the involvement of the Revolutionary Guards will impact the discussions and the potential outcomes of these negotiations. #Iran#LeadershipRevamp#PeaceTalks#RevolutionaryGuards#USIranRelations#PoliticalLandscape#ConflictResolution#IranPolitics#PeaceNegotiations
@CryptoM · Post #64623 · 09.04.2026 г., 11:46
🚀 Democratic Republic of Congo Launches Maiden Eurobond Amid Eased Tensions The Democratic Republic of Congo has initiated the sale of its first eurobond, capitalizing on a temporary lull in hostilities between the U.S. and Iran. Bloomberg posted on X, highlighting that this geopolitical development has increased investor interest in riskier assets. The bond issuance marks a significant step for the Democratic Republic of Congo as it seeks to tap into international financial markets. The pause in tensions has created a more favorable environment for emerging markets to attract investment. This move is part of the country's broader strategy to bolster its economic standing and leverage global financial opportunities. #DemocraticRepublicofCongo#Eurobond#GeopoliticalTensions#USIranRelations#EmergingMarkets#Investment#InternationalFinance#RiskyAssets#EconomicGrowth#FinancialOpportunities
@CryptoM · Post #65058 · 10.04.2026 г., 17:08
🚀 Israel-Hezbollah Conflict Complicates U.S.-Iran Relations The ongoing conflict between Israel and the Iran-backed Lebanese militia Hezbollah is adding complexity to the United States' efforts to resolve its longstanding tensions with Iran. Bloomberg posted on X, highlighting the intricate geopolitical dynamics at play. The hostilities between Israel and Hezbollah have intensified, with both sides engaging in military actions that threaten to escalate further. This situation is complicating U.S. diplomatic strategies aimed at de-escalating tensions with Iran, as Hezbollah's actions are closely linked to Iranian interests in the region. The U.S. has been attempting to negotiate with Iran to address various issues, including nuclear capabilities and regional influence. However, the involvement of Hezbollah, a significant player in the Middle East conflict, poses challenges to these diplomatic efforts. As the situation unfolds, the international community is closely monitoring developments, with concerns about potential broader implications for regional stability. The U.S. continues to navigate these complex relationships, seeking a resolution that addresses both its strategic interests and the security concerns of its allies in the region. #Israel#Hezbollah#USIranRelations#MiddleEastConflict#Geopolitics#USDiplomacy#Iran#Lebanon#RegionalStability#NuclearNegotiations#MilitaryEscalation#InternationalRelations