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

Резултати

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

Търсене: #fakes

当前筛选 #fakes清除筛选
Россия в ОБСЕ

@RusMissionOSCE · Post #7762 · 11.12.2025 г., 12:06

#DebunkingFakes The Kiev regime continues to recycle its baseless accusations regarding “thousands of abducted Ukrainian children” to promote its false narratives. Although this claim has been debunked time and again, it is important to revisit the case and counter #fakes with #facts. *** In 2014, the Kiev regime that seized power through an unconstitutional and violent coup unleashed punitive operations against the residents of Donetsk and Lugansk (at the time – Ukrainian citizens) who rejected the nationalist forces that installed themselves in power. As early as April 2014, Ukraine's armed forces against the people of Donbass using armoured vehicles, aviation, artillery and rocket systems. ❗️ Thousands of civilians, including hundreds of children, became victims of indiscriminate attacks. On June 2, 2017, the Alley of Angels memorial was unveiled in Donetsk in honour of the perished children. Back then, the memorial listed 66 names. Today, the number of young victims has already exceeded 300. Kiev’s atrocities go beyond the killing of children – the regime even resorts to harassing minors online. The infamous“Myrotvorets” website – a public hit list run by Ukrainian neo-Nazi, which is still operational and and is hosted on Western servers, targets almost 400 children. Among them is Platon Burchenkov – a toddler who will only turn... three years old in January 2026 is accused of “knowingly violating the state border”. Another example is Faina Savenkova – a young blogger from Lugansk, whose personal data was added to “Myrotvorets” when she was barely 12. Ukrainian radicals claim that the teenager “encroached upon the sovereignty” of the entire state. ⚡️ According to Russia’s Prosecutor General’s Office, Ukrainian punitive actions have claimed 5,000 civilian lives and left over 13,500 wounded – among them 1,275 minors. Nevertheless, in April 2023 Kiev began circulating the myth of “20,000 abducted Ukrainian children”. It was first promoted by Ukraine's Commissioner for Children’s Rights Daria Gerasimchuk and quickly amplified by Western mainstream media. The “19,546 deported kids” figure published by the Children of War portal was not backed by any lists, names or individual records. The Russian side received an actual list of “abducted Ukrainian children” only in 2025 during resumed Russia-Ukraine direct talks in Istanbul. It contained only 339 names, showing that the number of children separated from their families on both sides had been grossly inflated for political PR. A case-by-case review showed that a large share of those listed as “children” were actually adults who had already turned 18 when the special military operation started. Some were found legally residing in Russia with one of the parents, while over 100 were found in Germany – a revelation Ukraine quickly tried to hide. Meanwhile, Russia has maintained a clear and transparent family-reunification process, coordinated by the Office of the Presidential Commissioner for Children’s Rights. Since 2022, 122 children from 98 families have been reunited with parents or close relatives in Ukraine or third countries. 29 children have returned to Russia from Ukraine. All reunifications are verified and accompanied by the International Committee of the Red Cross. ‼️Russia has never impeded the reunification of children with their families – and never will. 👉 This is our principled position. #See4Yourself#Think4Yourself

Russian Embassy in Cambodia

@russian_embassy_in_cambodia · Post #5546 · 11.12.2025 г., 12:58

#DebunkingFakes The Kiev regime continues to recycle its baseless accusations regarding “thousands of abducted Ukrainian children” to promote its false narratives. Although this claim has been debunked time and again, it is important to revisit the case and counter #fakes with #facts. *** In 2014, the Kiev regime that seized power through an unconstitutional and violent coup unleashed punitive operations against the residents of Donetsk and Lugansk (at the time – Ukrainian citizens) who rejected the nationalist forces that installed themselves in power. As early as April 2014, Ukraine's armed forces against the people of Donbass using armoured vehicles, aviation, artillery and rocket systems. ❗️ Thousands of civilians, including hundreds of children, became victims of indiscriminate attacks. On June 2, 2017, the Alley of Angels memorial was unveiled in Donetsk in honour of the perished children. Back then, the memorial listed 66 names. Today, the number of young victims has already exceeded 300. Kiev’s atrocities go beyond the killing of children – the regime even resorts to harassing minors online. The infamous“Myrotvorets” website – a public hit list run by Ukrainian neo-Nazi, which is still operational and and is hosted on Western servers, targets almost 400 children. Among them is Platon Burchenkov – a toddler who will only turn... three years old in January 2026 is accused of “knowingly violating the state border”. Another example is Faina Savenkova – a young blogger from Lugansk, whose personal data was added to “Myrotvorets” when she was barely 12. Ukrainian radicals claim that the teenager “encroached upon the sovereignty” of the entire state. ⚡️ According to Russia’s Prosecutor General’s Office, Ukrainian punitive actions have claimed 5,000 civilian lives and left over 13,500 wounded – among them 1,275 minors. Nevertheless, in April 2023 Kiev began circulating the myth of “20,000 abducted Ukrainian children”. It was first promoted by Ukraine's Commissioner for Children’s Rights Daria Gerasimchuk and quickly amplified by Western mainstream media. The “19,546 deported kids” figure published by the Children of War portal was not backed by any lists, names or individual records. The Russian side received an actual list of “abducted Ukrainian children” only in 2025 during resumed Russia-Ukraine direct talks in Istanbul. It contained only 339 names, showing that the number of children separated from their families on both sides had been grossly inflated for political PR. A case-by-case review showed that a large share of those listed as “children” were actually adults who had already turned 18 when the special military operation started. Some were found legally residing in Russia with one of the parents, while over 100 were found in Germany – a revelation Ukraine quickly tried to hide. Meanwhile, Russia has maintained a clear and transparent family-reunification process, coordinated by the Office of the Presidential Commissioner for Children’s Rights. Since 2022, 122 children from 98 families have been reunited with parents or close relatives in Ukraine or third countries. 29 children have returned to Russia from Ukraine. All reunifications are verified and accompanied by the International Committee of the Red Cross. ‼️Russia has never impeded the reunification of children with their families – and never will. 👉 This is our principled position. #See4Yourself#Think4Yourself

#DebunkingFakes The Kiev regime continues to recycle its baseless accusations regarding “thousands of abducted Ukrainian children” to promote its false narratives. Although this claim has been debunked time and again, it is important to revisit the case and counter #fakes with #facts. *** In 2014, the Kiev regime that seized power through an unconstitutional and violent coup unleashed punitive operations against the residents of Donetsk and Lugansk (at the time – Ukrainian citizens) who rejected the nationalist forces that installed themselves in power. As early as April 2014, Ukraine's armed forces against the people of Donbass using armoured vehicles, aviation, artillery and rocket systems. ❗️ Thousands of civilians, including hundreds of children, became victims of indiscriminate attacks. On June 2, 2017, the Alley of Angels memorial was unveiled in Donetsk in honour of the perished children. Back then, the memorial listed 66 names. Today, the number of young victims has already exceeded 300. Kiev’s atrocities go beyond the killing of children – the regime even resorts to harassing minors online. The infamous“Myrotvorets” website – a public hit list run by Ukrainian neo-Nazi, which is still operational and and is hosted on Western servers, targets almost 400 children. Among them is Platon Burchenkov – a toddler who will only turn... three years old in January 2026 is accused of “knowingly violating the state border”. Another example is Faina Savenkova – a young blogger from Lugansk, whose personal data was added to “Myrotvorets” when she was barely 12. Ukrainian radicals claim that the teenager “encroached upon the sovereignty” of the entire state. ⚡️ According to Russia’s Prosecutor General’s Office, Ukrainian punitive actions have claimed 5,000 civilian lives and left over 13,500 wounded – among them 1,275 minors. Nevertheless, in April 2023 Kiev began circulating the myth of “20,000 abducted Ukrainian children”. It was first promoted by Ukraine's Commissioner for Children’s Rights Daria Gerasimchuk and quickly amplified by Western mainstream media. The “19,546 deported kids” figure published by the Children of War portal was not backed by any lists, names or individual records. The Russian side received an actual list of “abducted Ukrainian children” only in 2025 during resumed Russia-Ukraine direct talks in Istanbul. It contained only 339 names, showing that the number of children separated from their families on both sides had been grossly inflated for political PR. A case-by-case review showed that a large share of those listed as “children” were actually adults who had already turned 18 when the special military operation started. Some were found legally residing in Russia with one of the parents, while over 100 were found in Germany – a revelation Ukraine quickly tried to hide. Meanwhile, Russia has maintained a clear and transparent family-reunification process, coordinated by the Office of the Presidential Commissioner for Children’s Rights. Since 2022, 122 children from 98 families have been reunited with parents or close relatives in Ukraine or third countries. 29 children have returned to Russia from Ukraine. All reunifications are verified and accompanied by the International Committee of the Red Cross. ‼️Russia has never impeded the reunification of children with their families – and never will. 👉 This is our principled position. #See4Yourself#Think4Yourself

QLEVER

@qleveruz · Post #189 · 26.12.2023 г., 05:56

🎮 А у нас на платформе новая игра! Играя в нее вы научитесь проверять изображения, прокачаете критическое мышление, станете более внимательными к деталям. 🔍 В современном мире фейки встречаются на каждом шагу. Новости, статьи, фотографии, видео - все может быть подделкой. Умение распознавать фотофейки - это важный навык, который поможет вам не стать жертвой обмана. 🎓 Играйте и учитесь! 📸🔍📸🔍📸🔍📸🔍 🎮 Bizning platformamizda esa - yangi o'yin! Uni o'ynash orqali siz tasvirlarni tekshirishni, tanqidiy fikrlashni yaxshilashni va tafsilotlarga ko'proq e'tibor berishni o'rganasiz. 🔍 Zamonaviy dunyoda feyklar va soxta narsalar har qadamda topiladi. Yangiliklar, maqolalar, fotosuratlar, videolar - hammasi feyk bo'lishi mumkin. Feyk fotosuratlarni fosh etish qobiliyati sizni aldov qurboni bo'lmaslikka yordam beradigan muhim ko'nikmadir. 🎓 O'ynang va bilim toping! #qlever#oyin#fakes#tanqidiyfikrlash#photofake#qlever#игра#фейки#критическоемышление#фотофейк 🎮Qlever 📹Instagram 💬Telegram