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 подобни публикации

Търсене: #aau

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

@addisstandardeng · Post #21222 · 28.01.2026 г., 10:47

#Op_ed: Deluge, Defense, and Demolition: Themes in PM Abiy’s #AAU lecture In this op-ed, Ezekiel Gebissa argues that Prime Minister Abiy Ahmed’s first address to Addis Ababa University, delivered during its 75th anniversary, fell far short of expectations for a vision grounded in “intellectual freedom and scholarly rigor.” Instead, he writes, “It became a political performance that redefined intellectual life in state-friendly terms, insulated executive power from criticism, and practically diminished the country’s most important academic institution.” By narrowly defining intellectuals as rational, non-dissenting problem-solvers, the prime minister implicitly cast critics as “anti-intellectual.” This, Ezekiel contends, was “not a philosophical clarification; it was a normative directive” privileging compliance over critique. https://addisstandard.com/?p=54802

Hashtags

Addis Standard

@addisstandardeng · Post #21143 · 21.01.2026 г., 11:17

#Op_ed: Silence of Scholars, Absence of Intellectual Freedom: Hypocrisy, moral vacuum in PM Abiy’s #AAU lecture A few weeks ago, Prime Minister Abiy Ahmed delivered a lecture titled “Who Is an Intellectual?” at Addis Ababa University’s 75th anniversary. Jawar Mohammed argues the lecture must be assessed against #Ethiopia’s stark realities: “seven years of devastating conflict, eroded academic freedom, and a public discourse reshaped by war.” He notes that “Intellectual life has been increasingly subordinated to the imperatives of conflict,” with dissenting scholars facing harassment, exile, or silence, while regime-aligned voices dominate media, framing war as “purification” or “historical destiny.” The author emphasizes that “Absent a candid reckoning with the damage inflicted by years of conflict, appeals to intellectual responsibility, however eloquent, will remain symbolically significant yet substantively inadequate.” https://addisstandard.com/?p=54676

Addis Standard

@addisstandardeng · Post #21070 · 14.01.2026 г., 11:19

#Commentary: Politics of Performance: #Ethiopia’s education crisis, PM Abiy’s ‘intellectual’ puzzle In this commentary, Seife Tadelle analyzes Prime Minister Abiy Ahmed’s lecture delivered on 02 January 2026 to mark the 75th anniversary of Addis Ababa University (#AAU). While acknowledging its “ambitious scope and engaging tone,” he argues that “Who Is an Intellectual?” exposed “a notable methodological limitation.” Seife notes, “Over the hour-long presentation, no sources, theoretical frameworks, or empirical references were cited,” a gap that weakens its academic credibility, “particularly within a university setting where scholarly rigor is foundational.” More troubling, the author contends, was the marginalization of Ethiopia’s own intellectual heritage. “The omission of figures such as Zera Yacob, Gebrehiwot Baykedagn, Saint Yared, and Kebede Mikael risks erasing historical continuity,” thereby weakening the cumulative nature of scholarship. https://addisstandard.com/?p=54522

Addis Standard

@addisstandardeng · Post #21091 · 16.01.2026 г., 09:43

MRI machine at #Ethiopia’s largest referral hospital Tikur Anbessa out of service for over five years, #AAU says Addis Ababa University’s College of Health Sciences has disclosed that the Magnetic Resonance Imaging (#MRI) machine at #Tikur_Anbessa Specialized Hospital has been nonfunctional for more than five years, placing significant strain on patients seeking advanced diagnostic services. The College’s Chief Executive Director, Dr. Abdurazaq Ahmed, told state media the prolonged shutdown has created a heavy burden on patients referred to the hospital for specialized care, particularly those requiring advanced imaging as part of diagnosis and treatment. According to Dr. Abdurazaq, the high cost of procuring and installing an MRI machine has limited the hospital’s ability to address the problem using its own resources. However, he noted that efforts are underway to resolve the issue... https://web.facebook.com/AddisstandardEng/posts/pfbid0MCKkrSrm9AWaqkk1U2r365Sc9dRR7CPpYdNFP5WbPktZVDUv2nVKLaAVw1Y1Eee1l

የቻይንኛ ቋንቋ ትምህርት በኢትዮጵያ የሁለተኛ ደረጃ ትምህርት ቤቶች ሊሰጥ ነው ******************** የቻይንኛ ቋንቋ ትምህርትን በሁለተኛ ደረጃ ትምህርት ቤቶች ለመስጠት የሚያስችል ስምምነት ተፈርሟል፡፡ የአዲስ አበባ ዩኒቨርሲቲ የቻይንኛ ቋንቋ ትምህርትን በሁለተኛ ደረጃ ትምህርት ቤቶች ለማስፋፋትና የትምህርቱን ጥራት ለማረጋገጥ ከአዲስ አበባ እና ከኦሮሚያ ትምህርት ቢሮዎች ጋር የጋራ መግባቢያ ስምምነት ተፈራርሟል። ስምምነቱ በዋናነት የመምህራንን የማስተማር ብቃት በማሳደግና የሙያ ማረጋገጫ (Professional Certificate) አሰጣጥ ላይ ትኩረት አድርጎ የሚሠራ መሆኑ ተገልጿል። በስምምነቱ መሠረት ሁለቱ ትምህርት ቢሮዎች ለሥልጠናው ብቁ የሆኑ መምህራንን የመለየት፣ አስተባባሪዎችን የመመደብና አስፈላጊውን የሎጂስቲክስ ድጋፍ የማመቻቸት ኃላፊነት እንደሚኖርባቸው ተጠቁሟል። #EBC#Ethiopia#China#Education#AAU#LanguageLearning#Partnership

#HaSab

@Hasab_2016 · Post #212 · 12.12.2025 г., 09:51

CVMA Student Wins Top Prize in Human Rights Essay Competition December 10, 2025 – Addis Ababa, Ethiopia In celebration of International Human Rights Day 2025, the Center for Human Rights, in collaboration with the UN Human Rights Office (OHCHR), has announced the winners of its essay competition titled “Our Everyday Essentials: Reclaiming Human Rights in the 21st Century.” We are proud to announce that Yared Ermiyas, a student from the College of Veterinary Medicine and Agriculture at Addis Ababa University, emerged as the first-place winner. His powerful essay, “Remove the Shadow,” eloquently argued that access to education must be a fundamental necessity for every child, not a matter of luck, highlighting the deep emotional and practical connection between education and a dignified life. Yared was awarded a mobile phone prize presented by H.E. Berhanu Adello, Chief Commissioner of the Ethiopian Human Rights Commission (EHRC). Commissioner Adello also extended an offer for Yared to begin an internship attachment at the National Bureau of the Human Rights Commission, providing a valuable opportunity for practical experience in the field. The awards ceremony featured a dynamic panel discussion where Yared and the other winners presented their essays and engaged with fellow students and audience members on critical issues related to freedom of expression and the right to education. The competition, which invited undergraduate students to reflect on the core human rights that shape our daily lives, successfully inspired thoughtful dialogue and showcased the intellectual talent within our university community. Congratulations to Yared Ermiyas and all the participants for raising your voices, sharing your vision, and helping to shape the future of human rights! Via Hailu Beyene CVMA Student President @campus_Voice_2016 #OurEverydayEssentials#HumanRightsDay2025#StudentVoice#AAU#CVM#Congratulations