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

Резултати

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

Търсене: #ethiopiafirst

当前筛选 #ethiopiafirst清除筛选
Red Nile

@rednile12 · Post #11058 · 25.02.2026 г., 15:50

🎙️WEEK 16 | LIVE DISCUSSION 🔴FROM ADWA TO HARLEM ▪️How did Ethiopia’s 1896 victory under Menelik II inspire Black resistance in America? ▪️How did the 1935 Italian invasion spark mass mobilization in Harlem? ⚔️TOPICS: ▪️Fascism, Ethiopia & U.S. Neutrality ▪️Government measures against Black internationalists ▪️Ethiopia as a symbol of Black dignity & global solidarity 📅Feb 25, 2026 🕗 8–10 PM (EST) | 2–4 PM (Ethiopia) 🎙️Host: Ethiopia First 🗣️Guest: Alexander Yohannes — Red Nile Media 🔗Join Live:https://t.me/+AAE_Pc8aWTczYTA0 🔥 History. Power. Resistance. Don’t miss this deep dive into Ethiopia and the global Black experience. #Adwa#PanAfricanism#Ethiopia#BlackInternationalism#RedNileMedia#EthiopiaFirst

Red Nile

@rednile12 · Post #10577 · 02.01.2026 г., 16:48

🎙️WEEK 9 | LIVE GEOPOLITICAL DISCUSSION Who Defines Ethiopia? State Formation, Violence & the Clash Between Aithiopology vs Ethiopology 🔹 Did Ethiopia lack legitimacy at its birth—or is it being judged through Western theories that were never meant for ancient civilizations? 🔹 This live discussion critically examines recent remarks by Ethiopia’s Foreign Minister, challenges the social contract myth, and explores Ethiopia’s state formation through its own historical and civilizational lens. 📅Jan. 02, 2026 🕕8:00–10:00 PM EST | ከምሽቱ 2:00–4:00 🎙️Host: ኢትዮጵያ ትቅደም | Ethiopia First 🗣️Guest: Alexander Yohannes — Red Nile Media 🎛️Moderator: Sheralin 📡Ethiopia First. Always. 🔴RedNile Media 👇Join ኢትዮጵያ ትቅደም Telegram Channel https://t.me/+AAE_Pc8aWTczYTA0 #Ethiopia#Geopolitics#Ethiopology#Aithiopology#StateFormation#RedNileMedia#EthiopiaFirst

Red Nile

@rednile12 · Post #10431 · 19.12.2025 г., 15:20

🎙️WEEK 9 | LIVE GEOPOLITICAL DISCUSSION Who Defines Ethiopia? State Formation, Violence & the Clash Between Aithiopology vs Ethiopology 🔹 Did Ethiopia lack legitimacy at its birth—or is it being judged through Western theories that were never meant for ancient civilizations? 🔹 This live discussion critically examines recent remarks by Ethiopia’s Foreign Minister, challenges the social contract myth, and explores Ethiopia’s state formation through its own historical and civilizational lens. 📅Dec 19, 2025 🕕8:00–10:00 PM EST | ከምሽቱ 2:00–4:00 🎙️Host: ኢትዮጵያ ትቅደም | Ethiopia First 🗣️Guest: Alexander Yohannes — Red Nile Media 🎛️Moderator: Sheralin 📡Ethiopia First. Always. 🔴RedNile Media 👇Join ኢትዮጵያ ትቅደም Telegram Channel https://t.me/+AAE_Pc8aWTczYTA0 #Ethiopia#Geopolitics#Ethiopology#Aithiopology#StateFormation#RedNileMedia#EthiopiaFirst

Red Nile

@rednile12 · Post #10886 · 26.01.2026 г., 17:20

🔺Continuation from above @rednile12 🔷Ras Alula’s Warning — and Italy’s Defiance Deeply angered by the occupation, Ras Alula Abanega, the most formidable general of Emperor Yohannes IV, sent a formal letter to the Italian commander General Genè, demanding that Italian forces vacate Ethiopian territory. ❗️ Italy refused. General Genè responded that he had no authorization from Rome to withdraw, and instead advanced inland toward Saati, where Italian forces began building fortifications—a clear signal that Italy intended permanent occupation. 🔷The Battle Ras Alula immediately mobilized his forces. Moving swiftly from the highlands, he confronted the Italian column at Dogali, a narrow and exposed terrain ideal for Ethiopian tactics. 🔹 Italian force: ~550 soldiers 🔹Ethiopian force: Larger, mobile, and battle-hardened 🔹Result: ▪️~470 Italian soldiers killed ▪️~80 wounded ▪️The Italian column was almost entirely annihilated This was not a skirmish—it was a strategic humiliation. 🔷Shockwaves in Italy and the Western Press 🔹Italian Press Reaction The defeat sent shockwaves through Italy. ▪️Newspapers such as La Tribuna and Corriere della Sera described Dogali as a “national tragedy” ▪️The fallen soldiers were quickly turned into martyrs of empire ▪️Public outrage fueled calls for revenge, not withdrawal Instead of questioning colonial aggression, the Italian press framed the defeat as: ▪️ A stain on national honor ▪️ Proof that Italy needed more troops, more funding, and harsher measures This reaction directly paved the way for Italy’s militarization of Eritrea and its later full-scale invasion of Ethiopia—culminating in Adwa (1896). 🔷Western Media Narrative Much of the broader European press reacted with disbelief. ▪️ Ethiopia’s victory contradicted the racist colonial assumption that African armies could not defeat Europeans ▪️ Some Western outlets downplayed Ethiopian strategy and leadership, attributing the loss to: ▪Italian “mismanagement” ▪Poor logistics ▪Terrain 🔹 Rarely did they acknowledge: ▪️Ras Alula’s military brilliance ▪️Ethiopia’s organized command structure ▪️Indigenous intelligence and strategy Yet privately, Dogali triggered a quiet realization in Europe: Ethiopia was not a weak state—it was a serious military power. 🔷Why Dogali Matters Dogali was: ▪️One of the first major African victories over a modern European army ▪️A psychological blow to colonial arrogance ▪️A direct precursor to Adwa, where Italy would suffer an even greater defeat ▪️It proved that Ethiopian resistance was not accidental, but systematic, strategic, and national. መብቱን ዮሐንስ ላሉላ ቢሰጠው እንደ ቀትር እሳት ቱርክን ገላመጠው ጣሊያንም ወደቀ እያንቀጠቀጠው አጭዶና ከምሮ እንደገብስ አሰጣው።» Photo Descriptions Image 1: Ras Alula Abanega, architect of the victory at Dogali Image 2: Italian troops burying their dead after the defeat (January–February 1887) Image 3: Wounded Italian soldiers transported back to Italy and treated in Naples — RedNile Media🌊🧭 📡@rednile12 Geopolitics | Multipolarity | Sovereignty | Strategic Reality #RedNileMedia#EthiopiaFirst #BattleOfDogali#AdwaVictory #FromDogaliToAdwa #HistoryBeyondTheWest

Red Nile

@rednile12 · Post #10888 · 26.01.2026 г., 18:32

The Strategic Containment of an Empire: How Europe Engineered Ethiopia's Landlocked Fate Red Nile Media | Deep Dive Analysis The story of Ethiopia in the late 19th and early 20th centuries is often celebrated as a heroic narrative of military triumphs at #Dogali (1887) and #Adwa (1896). Yet, a closer examination reveals a far more complex geopolitical saga. These victories did not translate into unbridled sovereignty; rather, they triggered a deliberate and coordinated European strategy of containment. The culmination of this strategy was the 1906 Tripartite Treaty—a formal pact that sealed Ethiopia’s landlocked destiny. 📌 This article expands on that history, incorporating academic perspectives to illuminate the “how” and “why” behind this enduring geopolitical outcome. 🔗Read the Full Article Here #RedNileMedia#EthiopiaFirst #BattleOfDogali#AdwaVictory #FromDogaliToAdwa #HistoryBeyondTheWest

Red Nile

@rednile12 · Post #11074 · 27.02.2026 г., 12:30

🎙️WEEK 17 | LIVE DISCUSSION ⚔🛡My Generation & Adwa Reflecting on the 130th Anniversary of the Victory of Adwa In honor of the 130th Anniversary of the Victory of Adwa, celebrated on Yekatit 23, 2018 (E.C.), we invite you to a powerful and timely conversation on legacy, identity, and national consciousness. Tonight, on the Ethiopia First Telegram Channel, we will discuss, reflect, and critically engage on what Adwa means for our generation — and why it still matters today. Be part of this historic dialogue. 📅February 27, 2026 🕗8:00–10:00 PM (EST) | 2:00–4:00 PM (Ethiopia Time) 🎙️Host: Ethiopia First 🗣️Guest: Alexander Yohannes — Red Nile Media 🔗Join Live:https://t.me/+AAE_Pc8aWTczYTA0 — #Adwa130#VictoryOfAdwa#AdwaAnniversary#MyGenerationAndAdwa #EthiopiaFirst#RedNileMedia#EthiopianHistory#AfricanVictory #PanAfricanLegacy#Yekatit23#EthiopianPride#AdwaSpirit#EthiopiaRising