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

Резултати

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

Търсене: #endf

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

@addisstandardeng · Post #21456 · 19.02.2026 г., 14:42

#Security vacuum fears grow amid reports of #ENDF withdrawals, alleged redeployment toward #Tigray Region Withdrawal or reduced presence of federal forces in recent days is raising concerns among local communities. Residents in different parts of the country spoke to Addis Standard on their concern following federal forces evacuating their village while fueling speculation that troops are being redeployed northward amid rising tensions involving Tigray. Residents in Dirashe district, Gardulla Zone, South Ethiopia Region, and Anfilo districts in Kellem Wollega Zone, Oromia Region, told Addis Standard that Ethiopian National Defense Forces (ENDF) have been vacating certain areas, creating security gaps and fueling local tensions. An AFP report confirmed similar reports of troop movements and heightened military tension near the Tigray border. https://addisstandard.com/?p=55250

Addis Standard

@addisstandardeng · Post #21166 · 23.01.2026 г., 12:06

News: #Ethiopia, #Belarus sign military MoU ahead of Air Force’s 90th anniversary Ethiopia and Belarus have signed a bilateral memorandum of understanding (MoU) aimed at strengthening military cooperation between the two countries, the Ethiopian National Defense Forces (#ENDF) said. In a statement issued on 22 January 2026, the ENDF said the agreement was signed by Ethiopia’s Minister of Defense, Engineer Aisha Mohammed, and Pantus Dmitry Aleksandrovich, Minister of State Authority for Military Industry of the Republic of Belarus. According to the statement, Aisha described the MoU as a significant step toward advancing Ethiopia’s military technology and industrial capacity, particularly as the country seeks greater self-sufficiency in defense production. She also recalled previous agreements reached between the leaders of Ethiopia and Belarus, noting that those understandings provide the foundation for implementing the current strategic cooperation... Read more: https://addisstandard.com/?p=54710

Addis Standard

@addisstandardeng · Post #21360 · 10.02.2026 г., 13:33

#ENDF Airborne School graduates combat paratroopers trained for #special_missions Addis Abeba— The Ethiopian National Defense Force (ENDF) said its Airborne School, under the Special Operations Command Training Center, has today graduated combat paratroopers trained to carry out special missions. Lieutenant General Shuma Abdeta, Commander of the Special Operations Command, attended the graduation ceremony and pinned “chest wings” on the graduates, according to a statement from ENDF. Addressing the trainees, Lt. Gen. Shuma said the airborne force “is a cradle of great leaders and heroes,” describing it as a unit that “makes the country proud by concluding formidable and complex missions with victory.” He added that joining the airborne force requires “exceptional bravery,” noting that a paratrooper must be “a determined hero, invincible to any earthly challenge, and capable of overcoming all obstacles to achieve success.” https://www.facebook.com/share/1KTQkTwcNF/

"የእኛ ዝግጅት በድፍን አፍሪካ ሰላም እና ብልጽግናን ለማረጋገጥ፣ በቀጣናችን ላሉ ሀገራት አለኝታ፣ መከታ፣ ጋሻ ለመሆን ነው።” - የጦር ኃይሎች ጠቅላይ አዛዥ ጠቅላይ ሚኒስትር ዐቢይ አሕመድ (ዶ/ር) #Ethiopia#ENDF#defenceforces#specialcommandoperation

በማይበገር ጽናት ለ65 ዓመታት የጸና ጀግንነት፤ በማንኛውም ሁኔታ ለሀገር ግዳጅ ዝግጁ የሆነው የልዩ ዘመቻዎች እዝ! #EBC#Ethiopia#ENDF#defenceforces#specialcommandoperation

Borkena

@borkena · Post #5824 · 22.02.2026 г., 13:49

አብይ አህመድ ከሶማሊያ ጫፍ እስከ ምጽዋ ጫፍ በቂ የሆነ ኤሊት ፎርስ ገንብተናል ሲሉ ተናገሩ። "ተወደደም ተጠላም ተዘግቶብን አንኖርም" የሚል ፅሁፍ የታየበት የበዓል ዝግጅት ትኩረትን የሳበ ሁኖ ተገኝቷል። የኢፌዲሪ ጠቅላይ ሚኒስትር እና የጦር ኃይሎች ጠቅላይ አዛዥ አብይ አህመድ (ዶ/ር) ዛሬ በተካሄደው የመከላከያ ሰራዊት የልዩ ዘመቻዎች ዕዝ 65ኛ ዓመት የምስረታ በዓል ማጠቃለያ ስነስርዓት ላይ ባደረጉት ንግግር ኢትዮጵያ በምሥራቅ አፍሪካ ሽብርን የሚከላከል ኤሊት ፎርስ ወይም ልዩ ኃይል መገንባቷን አስታውቀዋል። በሀዋሳ ስታዲየም በተካሄደው በዚህ ፕሮግራም ላይ ባደረጉት ንግግር፣ የእኛ ዝግጅት በድፍን አፍሪካ ሰላም ለማረጋገጥ ነው፣ በቀጠናችን ላሉ አገራት አለኝታ፣ መከታ፣ ጋሻ ለመሆን ነው ያሉ ሲሆን፣ ለዚህም ሲባል በምድር፣ በተራራና በጅረት የነበረውን ልምምድ ባሕር ላይ ወደሚደረግ ሥልጠና ተሸጋግሯል ብለዋል። ጠቅላይ ሚኒስትሩ ከሶማሊያ ጫፍ እስከ ምጽዋ ጫፍ በባሕር የሚያጋጥሙ ሽብሮችን ለማስቀረት ልማትን በቀጠናችን ለማረጋገጥ ለኢትዮጵያ ብቻ ሳይሆን ለቀጠናው በቂ የሆነ ኤሊት ፎርስ ገንብተናል ሲሉ ተደምጠዋል። ኢትዮጵያ የዘመኑን ቴክኖሎጂ የሚጠቀም፣ በምሽግ ብቻ ሳይሆን በስትራቴጂክ ቦታዎች ውጊያን የሚያጧጡፍ እና የሚያሳጥር ተቋም ስለገነባች መላው አፍሪካውያን እንኳን ደስ አላችሁ ያሉት አብይ፣ ኢትዮጵያ ኤሊት ፎርስ የምትገነባው በቀጣናው ውጊያ እና ሽብር እንዳይፈጠር፤ ሲፈጠርም በአጭር ጊዜ ለመቋጨት እንደሆነም በንግግራቸው ጠቁመዋል። ይህ የጠቅላይ ሚኒስትሩ ንግግር የኢትዮጵያ የባህር በር ፍላጐት በሰላማዊ መንገድ ካልተሳካ የሀይል አማራጭ ሊኖር እንደሚችል አመላካች ተደርጎ ተወስዷል። #Ethiopia#AbiyAhmed#ENDF#news#Ethiopiannews#ዜና

“ኢትዮጵያ አልተደፈረችም፣ አትደፈርም፤ በክብር እና በነፃነት ለልጆቻችን የምናሸጋግራት ብቸኛዋ የአፍሪካ ፈርጥ ሆና ትቀጥላለች።” - የጦር ኃይሎች ጠቅላይ አዛዥ ጠቅላይ ሚኒስትር ዐቢይ አሕመድ (ዶ/ር) #EBC#Ethiopia#ENDF#defenceforces#specialcommandoperatio

Addis Standard

@addisstandardeng · Post #21485 · 21.02.2026 г., 12:22

News: #Tigray Interim Administration dismisses claims of #ENDF deployment, relocation to Northern Command camps The Tigray Interim Administration has dismissed as “completely false” reports circulating in recent days alleging that the federal government ordered the #Ethiopian National Defense Forces (ENDF) to enter Tigray and that the regional administration had agreed to the relocation of federal troops to former Northern Command camps. In a brief statement issued today, the Interim Administration described the claims as “misinformation and disinformation” intended to mislead the public and create unnecessary tension. “There are rumors in recent days that the federal government has ordered the Ethiopian Defense Forces to enter Tigray, and the Tigray Interim Administration has agreed for the forces to settle in the former camps of #Northern Command,” the statement said. “The source and the goal of this strategy of spreading such misinformation and.... Read more: https://addisstandard.com/?p=55289

Borkena

@borkena · Post #5819 · 21.02.2026 г., 09:49

የትግራይ ጊዜያዊ አስተዳደር መከላከያ ወደ ትግራይ ይገባል መባሉን አስተባበለ። የጊዜያዊ አስተዳደሩ ፕሬዝዳንት ጀነራል ታደሰ ወረደ ጽሕፈት ቤት ዛሬ የካቲት 14/2018 ዓ. ም ባወጣው መግለጫ፣ መከላከያ ሠራዊት በትግራይ ክልል በሚገኙ የቀድሞው የሰሜን ዕዝ ካምፖች እንዲሰፍር አለመስማመቱን አስታውቋል፡፡ የትግራይ ክልል ጊዜያዊ አስተዳደር የኢትዮጵያ መከላከያ ሠራዊት ወደ ትግራይ ክልል እንዲገባ በፌደራል መንግሥት ትዕዛዝ ተላልፏል በሚል የተሰራጨው መረጃ ሐሰት ነው በማለት ውድቅ አድርጓል፡፡ ባለፉት ቀናት የፌደራል መንግሥት መከላከያ ሠራዊት ወደ ትግራይ ክልል እንደሚገባ ለጊዜያዊ አስተዳደሩ ማሳወቁን የሚገልጹ መረጃዎች ወጥተዋል። ሰራዊቱ በክልሉ የሚገኙ ካምፖችን መልሶ እንዲቆጣጠርና ኤርትራን በሚያዋስኑ ድንበሮች ላይ እንድሰፍር ትዕዛዝ ተላልፏል ተብሏል። የጊዜያዊ አስተዳደሩ ፕሬዝዳንት ጀነራል ታደሰ ወረደ በጉዳዩ ላይ የተሰጣቸውን ትዕዛዝ ለማስፈጸም መስማማታቸውም ተመላክቷል። ነገርግን ጽሕፈት ቤቱ ዛሬ ባወጣው መግለጫ የትግራይ ክልል ጊዜያዊ አስተዳደር መከላከያ ሠራዊት በሰሜን ዕዝ ካምፖች እንዲሰፍር ተስማምቷል መባሉን ሙሉ በሙሉ አስተባብሏል፡፡ ይሁን መረጃ የተሰማው የፌደራል መንግስት በተለያዩ አካባቢዎች የሚገኘውን ጦር አሰባስቦ ወደትግራይ እያስገባ ነው በሚባልበት ወቅት ነው። ባሳለፍነው ሳምንት የፀጥታ ችግር የተከሰተበትና የ20 ሰዎች ህይወት ያለፈበት የጋሞ ዞን ግጭት መንስዔው፣ መከላከያ ከአካባቢው ወጥቶ ወደ ትግራይ ክልል በመሄዱ መሆኑን ስማቸው እንድገለፅ ያልፈለጉ የክልሉ ሰላምና ፀጥታ ቢሮ አመራር በወቅቱ ተናግረዋል። #Ethiopia#Tigray#ENDF#AbiyAhmed#GeneralTadesseWerede

Addis Standard

@addisstandardeng · Post #21328 · 06.02.2026 г., 10:20

News: Former minister #Gedu says #Eritrean, #Ethiopian forces operated “as a single force” until Pretoria ceasefire, disputes PM Abiy’s account of Asmara’s role in Tigray war Former Minister of Foreign Affairs Gedu Andargachew has disputed Prime Minister Abiy Ahmed’s recent parliamentary account of Ethiopia’s wartime engagement with Eritrea, saying Eritrean forces fought alongside the Ethiopian National Defense Forces (#ENDF) “effectively as a single force” until the Pretoria ceasefire halted joint operations. He said he proposed raising the withdrawal of Eritrean forces from Tigray during the visit but was instructed not to do so. According to Gedu, no message concerning the suffering of civilians in Tigray was delivered in Asmara. In a letter dated 5 February 2026 and sent to Addis Standard, Gedu rejected Abiy’s claim that he served as the Prime Minister’s envoy to Eritrea after the outbreak of the war in Tigray to convey concerns over crimes .... Read more: https://addisstandard.com/?p=55048

Addis Standard

@addisstandardeng · Post #21211 · 27.01.2026 г., 14:34

News: #US Assistant Secretary Christopher Landau, AFRICOM commander arrive in #Ethiopia, visit Air Force aviation expo U.S. Assistant Secretary of State Christopher Landau arrived in Ethiopia today as part of a regional tour that includes #Egypt, Ethiopia, #Kenya, and #Djibouti, scheduled to run from 24 January to 1 February. The Commander of the U.S. Africa Command (#AFRICOM), General Dagvin Anderson, is also in Ethiopia as part of the visit. Today, Landau and General Anderson visited the International Aviation Expo organized by the Ethiopian Air Force, according to the Ethiopian National Defense Force (#ENDF). Field Marshal Birhanu Jula, Chief of General Staff of the Ethiopian National Defense Force, also took part in the visit. The expo showcased aircraft, defense technologies, and related products from the Ethiopian Air Force, the Defense Engineering Industry Group,.. https://www.facebook.com/AddisstandardEng/posts/pfbid021qedgKswfSFzdABsQXmFSvjuiRtWQedXpLYXJysCdk1MBnWvdx4JZJTmEng9jPGRl

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