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

Резултати

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

Търсене: #antarctica

当前筛选 #antarctica清除筛选
Russian MFA 🇷🇺

@MFARUSSIA · Post #28162 · 29.01.2026 г., 16:00

🧭January 29 marks theDiscoverers’ Day in Russia 🧊 On this day in 1820, Russian naval officers Faddey Bellingshausen and Mikhail Lazarev discovered #Antarctica – the sixth continent. The expedition lasted 751 days. Sailing aboard the two sloops Vostok and Mirny, the 102-strong crew were the first to map the boundaries of the Antarctic continent. The voyage was extremely arduous and dangerous. Small wooden sailing vessels had to navigate close to ice and icebergs, often in dense fog. Heading south, on January 28, the Russian navigators came within close proximity of the icy shores of a previously unknown land. 📝Mikhail Lazarev later wrote about that historic moment: “We reached latitude 69°23 S, where we met main ice of extraordinary height… and looking out from the crosstrees, it stretched just as far as our gaze could reach… At last, there lay before us that southern main, so long sought after, whose existence scholars in their studies had deemed necessary for the balance of the globe.” Braving fierce ocean swells and polar ice, the expedition successfully circumnavigated the continent. This remarkable voyage brought glory to Russia and turned St Petersburg into a leading centre of global geography. The results of the expedition, which led to the discovery of Antarctica and twenty-nine new islands, represent an Russia's outstanding contribution to the history of geographical exploration. Later, shortly after the end of the Great Patriotic War, the Soviet Union resumed its exploration of the continent. In 1946, the Slava whaling flotilla, carrying a scientific team, sailed to Antarctica. They reached the point where Bellingshausen and Lazarev had sighted the “main ice” and verified the accuracy of their original accounts. On February 13, 1956, the first Soviet Antarctic research station, the Mirny Observatory, was officially opened. This was later followed by a network of year-round Russian stations. 🇷🇺 Today, Russia continues its research in Antarctica. In late 2024, a new wintering complex entered service at the inland Vostok Station. In 2025, the research vessel Akademik Tryoshnikov completed the International Antarctic Coastal Circumnavigation Expedition. The 71st Russian Antarctic Expedition is currently underway.

Hashtags

Voyage.Travel.Tourism

@VOYAGE · Post #1035 · 23.07.2024 г., 12:14

Antarctica🇦🇶 An eco-camp inspired by the space exploration era, providing exclusive access to the most remote locations on the continent. Equipped with six heated pod rooms featuring floor-to-ceiling panoramic windows. #Antarctica @voyage

Hashtags

RTDocumentary

@rtdocumentary · Post #265 · 15.10.2021 г., 10:00

No man’s land #video#Antarctica It’s open to everybody and no country owns it. People and wildlife coexist here peacefully. What’s this wonderful place? It’s Antarctica, the world’s coldest and most pristine continent! On this day, exactly 62 years ago, a conference in Washington DC paved the way for the Antarctic Treaty, which proclaims that the world's southernmost continent should be free of weapons, borders, and exploitation. Only science and collaboration are welcome here. To honour that date, here are some interesting facts. ❄️ You can’t take anything out of the continent, including stones, feathers, or anything manmade. ❄️ Antarctica has the lowest recorded temperature on earth, -89.2 degrees Celsius. ❄️ America’s McMurdo station is the largest research station here, with over 1,000 scientists working throughout the year. Follow: https://t.me/rtdocumentary

📱Play Market +

@pm_plus · Post #33962 · 15.04.2026 г., 08:11

Antarctica 88 🆕Обновление Вы попадётев Антарктиду, где сможете окунуться в жуткую научно-фантастическую историю. Готовы ли вы к встрече с ужасными существами, которых скрывает Антарктида? ⚙️Полная купленная Pro версия (299₽). Мод меню: разблокирован весь платный контент и другое. #Хорроры #Хорроры@pm_plus #Antarctica@pm_plus 📱Play Market + ⚡️ НАШ ЧАТ

Interesting Planet 🌍

@interesting_planet_facts · Post #1149 · 21.12.2025 г., 12:11

🌎 Antarctic icefish stand out for surviving in freezing waters thanks to "antifreeze proteins" in their blood. These proteins prevent ice crystals from forming inside their bodies, letting them live where most fish would freeze solid. Some species have completely lost red blood cells and hemoglobin. ✨ #adaptation⚡#animals⚡#antarctica 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #368 · 20.07.2025 г., 18:22

🌎 The deepest point on land is the Bentley Subglacial Trench in Antarctica, buried beneath almost 3 kilometers of ice. This hidden valley lies 2,555 meters below sea level, far deeper than Death Valley, and remains inaccessible except through advanced radar technology. ✨ #Antarctica⚡#geology⚡#extremes 👉subscribe Interesting Planet

Amazing Geography 🌍

@amazingeo · Post #121 · 26.08.2025 г., 16:12

🌍 Mount Erebus in Antarctica is one of the world’s southernmost active volcanoes. Its lava lake stays liquid year-round, despite harsh temperatures that often plunge far below freezing. ✨ #volcanoes⚡#Antarctica⚡#mountains⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #462 · 18.11.2025 г., 20:31

🌍 Antarctica is the only continent entirely surrounded by ocean and is nearly twice the size of Australia. Its thick ice reflects sunlight, helping regulate Earth’s overall temperature. ✨ #continents⚡#oceans⚡#Antarctica⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1287 · 11.02.2026 г., 22:11

🌎 Beneath the Ross Ice Shelf in Antarctica, researchers discovered a thriving community of tiny amphipod crustaceans living over 500 meters below the ice. Scientists accessed this hidden ecosystem in 2015 by drilling through the thick ice, revealing life where sunlight never reaches. This shelf covers an area roughly the size of France. ✨ #ocean⚡#Antarctica⚡#crustaceans 👉subscribe Interesting Planet 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #699 · 23.04.2026 г., 20:31

🌍 Antarctica is home to “blue ice” areas where strong winds strip away snow and expose centuries-old glacier ice, creating shimmering fields that reflect nearly as much sunlight as fresh snow. ✨ #glaciers⚡#Antarctica⚡#polar⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

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