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

Резултати

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

Търсене: #congo

当前筛选 #congo清除筛选
RT en français

@RTenfrancais · Post #79865 · 23.04.2026 г., 06:20

🟢Dans l’est de la République démocratique du #Congo, la menace des ADF prend une nouvelle ampleur. Massacres, enlèvements et expansion géographique : le groupe armé intensifie ses attaques, faisant des civils les premières victimes. 🗣Les précisions avec Malaika Élysée. RT en français • Osez questionner !

Hashtags

RT en français

@RTenfrancais · Post #79803 · 22.04.2026 г., 12:55

🟢En République démocratique du #Congo, le débat sur une réforme de la Constitution refait surface. Portée par la majorité au pouvoir, l’initiative se veut inclusive. Mais dans l’Est, en proie à une insécurité persistante, elle suscite scepticisme et incompréhension. Les précisions avec Malaika Élysée. RT en français • Osez questionner !

Hashtags

Egountchi Behanzin Officiel

@egountchibehanzinofficiel · Post #8732 · 28.01.2026 г., 19:18

#Congo🇨🇩 C’est avec une immense tristesse que j’ai appris le décès de mon grand frère Roland Gilbert Okito, fils du héros national congolais Emery Patrice Lumumba 🇨🇩. Roland n’était pas seulement l’héritier d’un nom qui a marqué l’Histoire de l’Afrique et du monde. Il était un homme de cœur, de parole et de sagesse. J’ai eu l’honneur de le connaître personnellement, et depuis notre première rencontre au Venezuela, il n’a cessé de me témoigner une écoute sincère et de me prodiguer des conseils empreints de bienveillance et de lucidité. Il portait l’héritage de Lumumba avec humilité, dignité et sens des responsabilités, toujours animé par l’amour du Congo et la quête de justice pour les peuples africains. Sa disparition est une perte immense, non seulement pour le Congo , sa famille et ses proches, mais aussi pour tous ceux qui croient encore aux valeurs de courage, de vérité et de souveraineté. À sa famille, au peuple congolais et à tous ceux qu’il a inspirés, j’adresse mes condoléances les plus sincères. EB @egountchibehanzinTV

Hashtags

Egountchi Behanzin Officiel

@egountchibehanzinofficiel · Post #8075 · 26.01.2025 г., 15:52

🔴SOS GOMA, #CONGO🇨🇩🙏🏾 Au nom de la LDNA, je tiens à exprimer notre vive condamnation des récentes attaques terroristes perpétrées par le groupe M23 contre les populations innocentes de la République Démocratique du Congo. Cette guerre de pillage et d’occupation, soutenue et orchestrée par le gouvernement rwandais dirigé par le criminel de guerre Paul Kagame, constitue une agression inacceptable contre la souveraineté et l'intégrité du Congo. Nous dénonçons fermement la complicité des États-Unis 🇺🇸 et de l'Union européenne 🇪🇺 qui, par leur soutien financier et logistique, permettent à ce groupe armé de poursuivre son agenda destructeur, visant à piller les précieuses ressources naturelles du Congo. Nous réitérons notre solidarité avec le peuple congolais en ces temps difficiles Il est temps que le gouvernement congolais, dirigé par Félix Tshisekedi, s’affirme et assume son rôle de chef des armées. Il est temps d’arrêter d’être une marionnette. Le peuple congolais a besoin d’un vrai leader à la tête du pays, pas d’une poule mouillée. REJOIGNEZ LA RÉSISTANCE SUR TELEGRAM. 🔺Pour les numéros français : https://t.me/egountchibehanzinTV 🔻Pour les numéros internationaux : https://t.me/EgountchiBehanzinOfficiel @egountchibehanzinTV

Hashtags

RT en français

@RTenfrancais · Post #79753 · 21.04.2026 г., 21:45

🇷🇺🇨🇬 La #Russie et le #Congo vont créer un centre commun d’épidémiologie et de prévention des infections‎ La République du Congo accueille mercredi 22 et jeudi 23 avril une conférence internationale sur les maladies infectieuses. Le Congo et la Russie ont signé, mardi 21 avril, un mémorandum d’intention en vue de la création d’un centre russo-congolais de recherche en épidémiologie et de prévention des maladies infectieuses. Les détails avec Jacques Amboka, notre envoyé spécial à Brazzaville. RT en français • Osez questionner !

RTDocumentary

@rtdocumentary · Post #800 · 21.05.2022 г., 17:59

Congolese people are highly superstitious. They habitually exorcise the Devil from children. However, if a priest says he can't cast the evil out of the child, the kid will be kicked out of home. Abandoned by their families, these unfortunates are forced to beg and steal on the streets. In our film, children recount how they were thrown out. To learn why parents have their kids exorcised, and how these poor and abandoned children get by, watch our film, The Shegué, the Sorcerer and Che Guevara. #video#Congo Follow: https://t.me/rtdocumentary

Hashtags

RTDocumentary

@rtdocumentary · Post #733 · 10.05.2022 г., 15:59

'We’ll die if the pit closes. It’ll be death. How will I pay for food? Where will I go?' Henrietta from Congo cleans poisonous cobalt. Its compounds are toxic, cause diseases but Henriette has nowhere else to work and needs to feed her 4 children. This cobalt quarry is a workplace for many people. Why are there so many desperate to work with harmful mineral? Watch the clip to know. Find out even more more about cobalt quarry workers in our documentary ‘Cobalt Hell’. #video#Congo Follow: https://t.me/rtdocumentary

Hashtags

RTDocumentary

@rtdocumentary · Post #449 · 14.02.2022 г., 13:51

#video#Congo The price Congolese workers have to pay for the rest of the world to enjoy smartphones — cobalt is essential for their production — is high. Miners in the Democratic Republic of the Congo, where the bulk of the world’s cobalt is found, are forced to extract and process the ore by hand, which causes serious health problems and environmental pollution. Yet, none of the workers is ready to give up his job. Young Congolese men agree to this backbreaking work hoping to earn enough money for university. This way, they will have a slight chance of leaving this life and helping their families. Women who raise their children alone agree to work on cobalt processing though it might ruin their health. What’s more, the idea of closing the cobalt deposit site gives them shivers because they see no other way of earning a living. We have already announced the upcoming premiere of our new documentary Cobalt Hell, and it’s finally arrived — tune for the premiere right now! Follow: https://t.me/rtdocumentary

Hashtags

RTDocumentary

@rtdocumentary · Post #280 · 23.10.2021 г., 10:00

Raised by the Streets #video#Congo They are only 15-17 years old, but they steal, do drugs, and terrorise their neighbours. Youth gangs are running rampant in the Democratic Republic of Congo. The delinquents are called Kuluna. Kuluna gangs exist in almost every Congolese city. Each group claims their own turf and fights other gangs for respect. They make money from racketeering, fencing stolen goods, and running small businesses. According to the Organized Crime and Corruption Reporting Project, Kuluna gangs are often affiliated with local police. Follow: https://t.me/rtdocumentary

Hashtags

RTDocumentary

@rtdocumentary · Post #204 · 07.09.2021 г., 10:00

Witch kids of Congo #video#Congo There are thousands of homeless children on the streets of Kinshasa. Many were kicked out because their relatives believe they are sorcerers. Kids may be branded sorcerers for crying or misbehaving. Children accused of witchcraft are sometimes beaten and forced to undergo exorcisms. Although belief in witchcraft is common in Africa, it’s often used as an excuse for families to get rid of inconvenient children. And, it’s become a lucrative business for preachers. Check out the full story! Follow: https://t.me/rtdocumentary

Hashtags

RT en français

@RTenfrancais · Post #80291 · 28.04.2026 г., 15:32

🇨🇬🇷🇺Denis Sassou Nguesso, président de la République du #Congo, est arrivé à Moscou pour s'entretenir avec Vladimir #Poutine le 29 avril. RT en français • Osez questionner !

123•••910
ПредишнаСтр. 1 от 10Следваща