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

Резултати

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

Търсене: #adwa

当前筛选 #adwa清除筛选
Addis Standard

@addisstandardeng · Post #21244 · 30.01.2026 г., 05:36

#Ethiopia | ‘The 21st Century #Adwa’: Barbados’ PM Mia Mottley on GERD and African Agency In a one-on-one interview with a comedian and TV host Trevor Noah last week, Barbados’ Prime Minister Mia Amor Mottley offered a passionate endorsement of Ethiopia’s Grand Ethiopian Renaissance Dam (GERD), describing the project as “revolutionary” and placing it within Africa’s enduring energy crisis. Noting that Ethiopia’s population exceeds 100 million while just over half have access to electricity, Mottley framed GERD as a strategic response to a continent-wide development constraint. She argued that what elevates GERD beyond infrastructure is how it was built. After international lenders declined to finance the project, Ethiopia turned inward, mobilizing domestic banks and ordinary citizens through bonds and public contributions to construct Africa’s largest hydroelectric dam. PM Mottley said she told Prime Minister Abiy Ahmed that GERD represents “the 21st century Adwa”, Watch

Addis Standard

@addisstandardeng · Post #21581 · 02.03.2026 г., 13:12

News: #India extends greetings to #Ethiopia on 130th Anniversary of the Victory of Adwa Subrahmanyam Jaishankar, External Affairs Minister of India, has extended warm greetings to Ethiopia on the occasion of the 130th Anniversary of the Victory of #Adwa. In a message shared on his official X page, Jaishankar conveyed his greetings to Ethiopia’s Minister of Foreign Affairs, Gedion Timothewos, as well as to the Government and people of Ethiopia, marking the historic anniversary of the Battle of Adwa. The Victory of Adwa, commemorated annually on March 2, marks Ethiopia’s triumph over invading Italian forces in 1896 — a defining moment in the country’s history and a symbol of African resistance against colonialism. Jaishankar also expressed India’s readiness to further strengthen its Strategic Partnership with Ethiopia, underscoring the ......... https://web.facebook.com/AddisstandardEng/posts/pfbid0BcMu6mtBBhGkibnKokEU3QonNX1utn5bDZ59131sa9PNNjrMi4bv6Z7aPA4KeVR3l

Deja Vu memes™ 👑

@dejavumemes · Post #4644 · 02.03.2020 г., 11:35

While most of Africa countries had come under colonial rule Ethiopia 🇪🇹 remained a sovereign nation and strong monarchy celebrating victory day for 124 years we call it #Adwa💪 happy victory day DejaVu's Families 🙌#ETHIOPIA THE ONLY UNCOLONIZED COUNTRY IN AFRICA 😁 @DejaVuMemes @DejaVuMemes @DejaVuMemes

Addis Standard

@addisstandardeng · Post #21582 · 02.03.2026 г., 14:29

News: President Taye links #Adwa triumph to advancing #Ethiopia’s access to the sea agenda President Taye Atske Selassie has declared that Ethiopia’s pursuit of a reliable and sustainable access to the #sea is “a living truth inseparable from the sovereign trust bequeathed by the martyrs of Adwa,” highlighting the maritime question as a core focus of the 130th Anniversary of the Victory of Adwa celebrations. In a speech delivered at this year’s celebration, held under the motto “From a Proud History to a Bright Horizon,” the President said historical records show that in the aftermath of the 1896 victory, one of Ethiopia’s primary diplomatic priorities was securing ownership of a maritime gate to connect with the world. Prime Minister Abiy Ahmed (PhD), in a message shared on his social media pages, described Adwa as the day “the sun broke through a sky that had been dark for all of Africa and Black people,” paying tribute to the ..... Read more: https://addisstandard.com/?p=55492

Addis Standard

@addisstandardeng · Post #21584 · 02.03.2026 г., 17:18

News: #Tigray marks Adwa anniversary amid renewed political tensions Authorities in Tigray have commemorated the 130th anniversary of the historic Battle of #Adwa, framing the occasion not only as a celebration of past triumph but also as a reflection of the region’s current political and territorial challenges. In a statement issued yesterday, the Tigray Communication Affairs Bureau described the 1896 victory at Adwa as a defining moment of African resistance and a symbol of resilience deeply rooted in Tigray’s history. The bureau emphasized the role of Tigrayan forces in late 19th-century battles against Ottoman, Egyptian, Italian and Dervish expansionist campaigns, highlighting the leadership of Ras Alula Abanega in key confrontations at Gundet, Gura and Dogali prior to the decisive defeat of Italian forces at Adwa. However, this year’s commemoration unfolded against a backdrop of heightened tensions between #Mekelle and #Addis_Abeba...... Read more: https://addisstandard.com/?p=55504

Addis Standard

@addisstandardeng · Post #21765 · 19.03.2026 г., 05:31

#Ethiopia: More than 330 IDPs reported dead in #Hitsats, 125 in #Adwa as coordinators warn of worsening humanitarian crisis At least 333 internally displaced persons (#IDPs) have died at the Hitsats center in Tigray since May 2025 due to hunger and lack of medicine, while in Adwa 125 people have died since October 2025. DPs and camp officials told Addis Standard that shrinking humanitarian assistance and continued new arrivals are pushing already vulnerable communities into what they describe as a life-threatening crisis, intensifying pressure on limited resources. Displaced residents and coordinators in Hitsats say the situation has further worsened, with rising fatalities, disease outbreaks, and reduced humanitarian support. “To speak of the conditions in Hitsats, one must see it with their own eyes,” said Abrha Mebrahtom, coordinator of the Hitsats IDP center. “Though there were good starts previously, they have now ceased. People are wasting away;..... Read more: https://addisstandard.com/?p=55953

ዓድዋ ትመስክር - ኢትዮጵያ የሚገባትን የባሕር በር ታገኛለች! **** ትናንት በዓድዋ ተራሮች ላይ “አንገዛም!” ብለው የጥቁር ሕዝብ የነፃነት ፋና የሆኑባት ኢትዮጵያ፣ ዛሬ ደግሞ የታሪክ፣ የሕግ እና የተፈጥሮ መብቷን ለማስከበር ዳግም ተነስታለች። ዓድዋ ያስተማረን አንድ ትልቅ እውነት አለ፤ ኢትዮጵያ በኢ-ፍትሐዊነት እና ባልተገባ መንገድ የተነፈገችውን እና የተጫነባትን ጫና እና በደል እምቢ በማለት ከመቀልበስ የሚያግዳት ምድራዊ ኃይል አለመኖሩን ነው! የባሕር በር ጥያቄ የቅንጦት ሳይሆን የኅልውና፣ የኢኮኖሚ ነፃነት እና የታሪክ ዕዳ ነው። አባቶች በደማቸው ሉዓላዊነታቸውን እንዳስበሩ ሁሉ፣ ይህ “የዓድዋ ትውልድ” ደግሞ በብልሃቱ፣ በዲፕሎማሲው እና በቆራጥነቱ ኢትዮጵያን ከአፍሪካ ቀንድ የባሕር ሞገዶች ጋር ዳግም ያገናኛታል። ትናንት ተራራው ምስክር ነበረ፤ ዛሬ ደግሞ የባሕር በሩ ምስክር ይሆናል! የኢትዮጵያ ትንሣኤ የሚረጋገጠው በምግብ ሉዓላዊነት ብቻ ሳይሆን፣ ሰማያዊውን አድማስ ዳግም በመቀላቀል ነው። ይህ ትውልድ የታሪክ ዘካሪ ሳይሆን ታሪክ ሠሪ ነው! ዓድዋ ምስክር ነው - ኢትዮጵያ ወደ ነበረችበት የባሕር በሯ ትመለሳለች! #Adwa#AdwaVictory#የባሕርበር#የዓድዋትውልድ#Ethiopia#AdwaSpirit

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

"ታላቁ ሕዳሴ ግድብ ኢትዮጵያ የዓለምን አካሄድ የቀየረችበት ድንቅ ታሪክ ነው" - ትሬቨር ኖዋህ *************** ቀደም ሲል የDaily Show አሁን ደግሞ ዓለም አቀፍ ጉዳዮችን የሚዳስስ ፖድካስት የሚያዘጋጀው አፍሪካ አሜሪካዊው ትሬቨር ኖዋህ፣ ከባርቤዶስ ጠቅላይ ሚኒስትር ሚያ ሞትሊ ጋር ልዩ ቆይታ አድርጓል። በቆይታቸው ስለ ታላቁ የኢትዮጵያ ሕዳሴ ግድብ ያነሣው ሐሳብ እሱ ግድቡን የተረዳበት መጠን ከፍተኛ እንደሆነ አመላክቷል። ትሬቨር ስለ ታላቁ የኢትዮጵያ ሕዳሴ ግድብ የሰጠው አድናቆት እና የውይይቱ ዋና ዋና ነጥቦች እንደሚከተለው ቀርበዋል፦ ራስን የመቻል አብዮት ትሬቨር በውይይቱ ላይ እጅግ ያስገረመው ነጥብ ኢትዮጵያ ግድቡን የገነባችበት መንገድ መሆኑን ገልጿል። ዓለም አቀፍ አበዳሪ ተቋማት ፊታቸውን ባዞሩበት ወቅት፣ ኢትዮጵያ የራሷን አቅም በመጠቀም እና እያንዳንዱ ዜጋ ካለው ላይ ቀንሶ በሰጠው መዋጮ ቢሊዮን ዶላሮችን ማሰባሰቧን "አብዮታዊ" ሲል ገልጾታል። ይህ ለሌሎች አዳጊ ሀገራት "ያለ ውጭ ብድር ታላቅ መሆን ይቻላል" የሚል ትልቅ ትምህርት የሚሰጥ መሆኑን ጠቁሟል። [የ130] ሚሊዮን ሕዝብ ተስፋ ትሬቨር አክሎም፣ ይህ ግድብ ለኢትዮጵያ ዝም ብሎ ግንባታ ሳይሆን፣ [ከ130] ሚሊዮን በላይ ለሚሆነው ሕዝብ በተለይም ኤሌክትሪክ ለማያገኘው ከግማሽ በላይ ወገን፣ መሠረታዊ የለውጥ ምንጭ መሆኑን ገልጿል። ኢትዮጵያ የኢንዱስትሪ ሽግግር እያደረገች ያለችው አካባቢን በማይበክል ንፁህና ታዳሽ ኃይል መሆኑም ልዩ እንደሚያደርገው አንሥቷል። የ21ኛው ክፍለ ዘመን ዓድዋ የባርቤዶስ ጠቅላይ ሚኒስትር ሚያ ሞትሊ በበኩላቸው፣ በጉዳዩ ላይ ከትሬቨር ኖዋህ ለቀረበላቸው ጥያቄ በሰጡት ማብራሪያ፣ ግድቡን በታሪክ ትልቅ ቦታ ካለው ከ1888ቱ የዓድዋ ድል ጋር አነፃፅረውታል። ኢትዮጵያውያን ወራሪውን የፋሺስት ጦር ድል አድርገው ለአፍሪካ የነፃነት ፋና እንደሆኑት ሁሉ፣ ዛሬም ይህን ግዙፍ ግድብ በራሳቸው አቅም ገንብተው በማጠናቀቅ "የዘመኑን የዓድዋ ድል" አስመዝግበዋል ሲሉ ገልጸውታል። የራስን ወንበር ይዞ መምጣት ሁለቱም ሰዎች ኢትዮጵያ በዚህ ረገድ ያመጣችውን አብዮት የገለጹት፣ "ዓለም አቀፉ ማኅበረሰብ በጠረጴዛው ዙሪያ ወንበር ካልሰጠህ፣ የራስህን የሚታጠፍ ወንበር (Folding Chair) ይዘህ መምጣት አለብህ" በማለት ነው። ኢትዮጵያ የዓለም የገንዘብ ሥርዓት ወንበር ቢነፍጋትም፣ በራሷ ጥረት የራሷን ወንበር ይዛ በዓለም መድረክ ላይ በኩራት መቀመጧን ትሬቨር ኖዋህም ሆነ ጠቅላይ ሚኒስትር ሚያ ሞትሊ በሚገባ መስክረዋል። በለሚ ታደሰ #EBC#ebcdotstream#GERD#TrevorNoah#MiaMottley#Adwa#AfricaRising

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