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

Резултати

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

Търсене: #empowerment

当前筛选 #empowerment清除筛选
EUROUZ 🇪🇺 🇺🇿 News

@eurouz_official · Post #360 · 08.03.2024 г., 12:21

[UZ] Bugun biz Xalqaro xotin-qizlar kunini butun dunyo ayollarining ajoyib yutuqlari va hissalarini keng qo’lamda nishonlaymiz. Keling, gender tengligini qo'llab-quvvatlashga, bir-birimizni kuchaytirishga va to'siqlarni birgalikda yengishga va'da beraylik. Va yana bir bor bu go’zallik bayrami bilan ayyolarimizni chin qalbdan tabriklaymiz - [EN] Today, we celebrate International Women's Day by honoring the incredible achievements and contributions of women around the globe. Let's pledge to support gender equality, empower each other, and break barriers together. Every step forward makes a difference. - [RU] Сегодня мы отмечаем Международный женский день, отмечая невероятные достижения и вклад женщин во всем мире. Давайте пообещаем поддерживать гендерное равенство, расширять возможности друг друга и вместе преодолевать трудности. Каждый шаг вперед имеет значение. #InternationalWomensDay#Empowerment Follow EUROUZ on Telegram: @eurouz_official Web | Instagram | Facebook| Twitter (X) |LinkedIn

शिक्षा, कौशल विकास और उद्यमिता में भारी निवेश कर प्रधानमंत्री के नेतृत्व में केन्द्र सरकार #NorthEast के जनसामान्य का सशक्तिकरण कर रही है। #YuvaShakti#Empowerment#YuvaShaktiForNE

BadVolf

@BadvolfNews · Post #760 · 03.08.2023 г., 06:39

📢 Listen Up, fellow Wolf pack!!! 🌍 🔴 Holy Shit! The truth about the exploitation of Africa's natural resources has finally been exposed. For years, America and France have shamelessly pillaged the riches of this continent, leaving its people in abject poverty. The dark secrets of child slave labor used to mine precious metals and gold have been unveiled. 🔵 But now, Africa has had enough! The tide is turning as the continent finds a new ally in Russia, a nation that respects their resources, values, and treats them as equals. Today, we witness the fall of France's colonial power in Niger, with politicians being stoned and luxury vehicles set ablaze. ⚠️ The situation in Niger has reached a boiling point, leading to the emergency evacuation of embassy staff by the U.S. State Department (fuck those guys), following the destruction of the French embassy by furious rioters. 🇷🇺 As the chaos unfolds, the Russian flags proudly waved among the crowds of demonstrators in Niamey reveal a glimmer of hope for Africa. The partnership between Africa and Russia signifies a new era, where African nations are determined to protect their resources and regain control over their own destiny. 🌍 The time for change has come. Let us stand in solidarity with the people of Africa as they assert their rights and demand justice. Together, we can ensure a future where exploitation is replaced with empowerment, and where Africa's wealth benefits its own people. 🔗https://www.dailymail.co.uk/news/article-12367511/Fears-Americans-trapped-Niger-State-Department-issues-emergency-evacuation-embassy-staff-French-embassy-torn-apart-rioters-Africa-country-meltdown-politicians-stoned-cars-torched-amid-brutal-military-coup.html #Africa#Russia#Empowerment#Justice#StandTogether

NIDO Russia (НИДО)

@nido_russia · Post #1833 · 19.10.2024 г., 08:59

"A Journey of Unawareness to Empowerment" A 30-year-old entrepreneur thought breast cancer couldn't happen to her. But during a routine work training, she discovered a lump through self-examination. The diagnosis: stage 2 breast cancer. Her journey transformed her into a beacon of hope. "Early detection is key," she'd say. "Don't assume you're immune. Take control of your health." Join our Breast Cancer Day webinar on Oct 19th, 18:00 GMT+3: - Breast cancer risk factors and prevention - Early detection methods - Latest research and advancements - Support systems and resources Zoom link: https://us06web.zoom.us/j/89636772918?pwd=J05Hz0r3iiZG9B3EPbzJFPq50pqDzH.1 #BreastCancerAwareness#Empowerment#EarlyDetection#HealingJourney

StartupBase

@startupbaseuz · Post #5285 · 18.12.2024 г., 15:59

Uzbekistan has made a historic leap in the Gender Equality and Governance Index, rising 51 positions, from 103rd to 52nd place! This success shows real progress in women’s education, economic empowerment, and the growth of innovative IT initiatives. We’re committed to increasing women’s participation in the IT sector. Our educational programs aim to ensure that every woman can thrive, benefiting from the accessible public services created by the state. Uzbekistan is a country full of talented youth, and our ambitious, creative girls are at the forefront. Empowering young women in tech is a source of national pride. By breaking down barriers, we’re opening doors for women to lead in technology. With talent, creativity, and determination, there are no limits to what can be achieved! This achievement reflects the power of teamwork. Thanks to international organizations, private companies, and local initiatives, Uzbekistan is building an inclusive IT ecosystem driven by diversity. Supporting women in tech is an investment in the future—one that benefits everyone. While progress has been made, we know there’s more to do. Women remain underrepresented, especially in rural areas. We’re working to boost computer literacy and provide technology access for rural women. Our Vision: Every woman should have the opportunity to reach her potential, be well-educated, and equipped to earn a living—maybe even lead the next tech unicorns! By 2030, under the Digital Uzbekistan Strategy, we aim for 300,000 IT specialists, with women making up at least half of them. Together, we can build an inclusive, innovative future, where every girl and woman can shape the digital world. Join us in this mission! We welcome international organizations, private companies, and individuals to collaborate in empowering girls in STEM and STEAM fields. Let’s continue working to ensure equality and diversity in every corner of Uzbekistan! #Uzbekistan#WomenInTech#Inclusion#STEM#Innovation#Empowerment

Andijan Development Center

@adceducate · Post #8453 · 09.04.2024 г., 12:58

🎤 Great news! 🌟 We are excited to announce the launch of our new public speaking course at ADC! 🏫 If you want to overcome the fear of public speaking, improve your presentation skills, or simply become a more effective communicator, our course is designed for you. With experienced instructors, a supportive environment, and a program focused on real-life success, we are here to help you find your voice and make an impact. 👩‍🏫👨‍🏫 Join us on a journey of development, confidence, and empowerment. Classes are starting soon, and spaces are limited, so book your spot today! ☎️For more details: 74 2261078 74 2281121 74 2281666 74 2276163 74 2252536 #PublicSpeaking#FindYourVoice#Empowerment#CommunicationSkills#Education#NewCourse#JoinUs