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

Резултати

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

Търсене: #tradition

当前筛选 #tradition清除筛选

Circle dances can be seen in the tradition of dancing round the may pole. Circle dance, or chain dance, is a style of dance done in a circle or semicircle to musical accompaniment, such as rhythm instruments and singing. Circle dancing is probably the oldest known dance formation and was part of community life from when people first started to dance. Dancing in a circle is an ancient tradition common to many cultures for marking special occasions, rituals, strengthening community and encouraging togetherness. The circle dance of Germany was called "Reigen", which dates from the 10th century. Dancing around the church or a fire was frequently denounced by church authorities which only underscores how popular it was. Circle dances were also found in Czech Republic, dating to the 15th century. Dancing was primarily done around trees on the village green. a reference comes from Bulgaria, in a manuscript of a 14th-century sermon, which calls chain dances "devilish and damned." #tradition @EuropeanTribalism

Hashtags

On traditions The oldest traditional clothing in the Alpine region is the so called 'Bregenzerwälder Juppe'. It is worn by women of the region of Vorarlberg, a county of Austria. It goes back to the 15th century and has not changed ever since. Unmarried girls wear a 'Schappale', an artful head garment, handmade by only a couple of artisans. The headwear and dress often are worn lifelong on special occasions and then given to the next generation. #tradition#custom @EuropeanTribalism

Interesting Planet 🌍

@interesting_planet_facts · Post #869 · 06.10.2025 г., 20:11

🌎 In Indonesia’s Tana Toraja region, families celebrate Ma’nene, a ritual where they exhume deceased relatives, clean their bodies, and dress them in fresh clothes. This custom honors ancestors and reinforces family ties. Some mummies are carried through the village during the ceremony, which happens every few years. ✨ #tradition⚡#anthropology⚡#festival 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1049 · 18.11.2025 г., 12:11

🌎 In Papua New Guinea, the Kaningara people of the Sepik River region perform a crocodile-scarification ritual. Teenage boys undergo elaborate skin-cutting ceremonies that create raised scars resembling crocodile scales, symbolizing a spiritual connection with the river’s sacred crocodiles. The process involves hundreds of cuts and can last several hours. ✨ #ritual⚡#anthropology⚡#tradition 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1113 · 09.12.2025 г., 12:11

🌎 In Thailand, the annual Phi Ta Khon festival in Dan Sai features villagers wearing ghost masks made from rice husks and coconut leaves. This tradition is linked to Buddhist legends and includes parades, music, and playful pranks. The festival can attract over 50,000 people each year. ✨ #culture⚡#tradition⚡#festival 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #388 · 22.07.2025 г., 18:22

🌎 In Venezuela, the moriche palm thrives in flooded tropical savannas and yields “buriti” fruit, rich in vitamin A. Locals use its golden, sweet pulp for juices, jams, and even sun-protective oil, making this tree a true “tree of life” for Amazonian communities. ✨ #botany⚡#nutrition⚡#tradition 👉subscribe Interesting Planet

Interesting Planet 🌍

@interesting_planet_facts · Post #1201 · 07.01.2026 г., 18:11

🌎 Each spring, the Tinku festival in Bolivia brings rival villages together for ritual fistfights. This tradition, rooted in pre-Columbian beliefs, is seen as an offering to Pachamama, or Mother Earth, to ensure a good harvest. Participants don colorful clothes and fight under strict rules; local police and medics oversee the event. ✨ #culture⚡#tradition⚡#Bolivia 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1140 · 18.12.2025 г., 12:11

🌎 In Scotland’s remote Orkney Islands, residents celebrate “New Year’s Ba’,” a centuries-old street football match. Townspeople split into two teams and battle for hours to carry a hand-made leather ball to opposing goals. The tradition dates back at least to the 17th century and draws hundreds of participants and spectators each year. ✨ #tradition⚡#Scotland⚡#Orkney 👉subscribe Interesting Planet 👉more Channels ​

☕ **THE SACRED ETHIOPIAN COFFEE CEREMONY** **የኢትዮጵያ ቅዱስ የቡና ሥነ ሥርዓት** 🌟 **More than just coffee - it's a spiritual ritual** **ከቡና በላይ - መንፈሳዊ ሥነ ሥርዓት ነው** **📿 THE THREE ROUNDS | ሦስቱ ዙር:** 1️⃣ **ABOL | አቦል** - First blessing, for the elders የመጀመሪያ በረከት፣ ለሽማግሌዎች 2️⃣ **TONA | ቶና** - Second round, for peace ሁለተኛ ዙር፣ ለሰላም 3️⃣ **BARAKA | በረካ** - Final blessing, for prosperity የመጨረሻ በረከት፣ ለብልጽግና **🔥 RITUAL STEPS | የሥነ ሥርዓቱ ደረጃዎች:** • Green beans roasted on hot coals | አረንጓዴ ፍሬዎች በሙቅ ከሰል ይጠበሳሉ • Sacred incense fills the air | ቅዱስ እጣን አየሩን ይሞላል • Three pours, three blessings | ሦስት መፍሰስ፣ ሦስት በረከቶች ☕ **Coffee isn't just drunk - it's experienced** **ቡና አይጠጣም - ይኖራል** #EthiopianCoffee#የኢትዮጵያቡና#Culture#Tradition#Coffee

Dordolec are hanging dolls or stuffed toys in Albania, mostly in the south. They hang outside homes to protect against the evil eye, which means bad luck from jealous looks. These dolls are believed to catch negative energy and stop harm to people and property. The custom grew again after the 1990s when social differences increased. [Read more] @googlefactss #Albania#Dordolec#EvilEye#Tradition🧸🛡️

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