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

Резултати

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

Търсене: #catizen

当前筛选 #catizen清除筛选
Airdrop Gold : Crypto Airdrop

@airdropgoldchannel · Post #157565 · 13.09.2024 г., 15:24

#Catizen announced that tonight at 00:00 UTC, they will take a snapshot 📸, and tomorrow at 10:00 AM UTC you can check how much airdrop ✈️ each user will receive. 💰 Each account can stake 1,000 CATI. 🎁 About $1 million in rewards have been allocated for staking. 🗓 The staking period is from September 14 to 24. 🚀 Starting Sunday, September 15, at 9:00 AM UTC, you can withdraw your airdrop to CEXs (centralized exchanges). 📈 Trading will also start on September 20. 🔮 They also mentioned that token holders will receive rewards in the future. join Now: https://t.me/catizenbot/gameapp?startapp=rp_9810907 @airdropgoldchannel Share It!

Hashtags

🏆 Premium, NFT, Tokens

@Giiveaways · Post #2201 · 20.06.2024 г., 16:27

🔍#Catizen Data Tracking Catizen's built-in real-time data analysis with multidimensional data mining and machine learning optimizes game content, boosts user retention, and increases payment conversion. It supports custom reports and real-time monitoring for data-driven decisions. 📊✨ Catizen's vibe: Play for the airdrop🪂, Heal the world! 🌍 https,://t.me/catizenbot/👈 °°°

Hashtags

🏆 Premium, NFT, Tokens

@Giiveaways · Post #2152 · 17.06.2024 г., 07:47

#Catizen values its users as the best investors. Airdrop increased from 35% to 42%! More kitty love, more rewards, more healing! 🌟🐱💎 Catizen's life: Play for airdrop🪂, Heal the world! 🌍 https://t.me/catizenbot/👈 °°°°°°°°

Hashtags

🏆 Premium, NFT, Tokens

@Giiveaways · Post #2143 · 16.06.2024 г., 07:22

#Catizen cherishes its users and community as our greatest supporters. 🐱 Why? Because your love for cats deserves recognition. That's why we've raised the airdrop from 35% to 42%, adding a total of 7%—all because of your incredible love and dedication.🎉 To celebrate reaching 20 million users, we're taking an extra 1% from investors, making the airdrop 42%! 🪙 Your unwavering support moves us forward! 🌟🐱💖 Catizen's vibe: Play for the airdrop🪂, Heal the world! 🌍 https'://t.me/catizenbot/👈 °°°°°°°

Hashtags

🏆 Premium, NFT, Tokens

@Giiveaways · Post #2091 · 13.06.2024 г., 07:53

🌍🐾 Since the launch of Catizen's Spin, global players have collectively received a heartwarming 7 millionassists. 🤝🐱#Catizen not only heals the world through the power of cats, but also fosters mutual healing among players. 😻 Catizen's life: Play for airdrop🪂, Heal the world! 🌍

Hashtags

🏆 Premium, NFT, Tokens

@Giiveaways · Post #2081 · 12.06.2024 г., 15:52

Catizen: 1 Million On-Chain Users, Paws-itively Healing the World! 🌍🐾#Catizen has hit a milestone with 1 million on-chain users, unleashing a tidal wave of feline healing across the globe! 🎉✨ Join the purr-fect revolution where virtual cats mend hearts, and a million paws unite for a happier world. 😺💖 Catizen's life: Play for airdrop🪂, Heal the world! 🌍 🏆Top 23 projects where you can earn $. °°°

Hashtags

Bitget pre-market trading: 😸 Catizen ($CATI) is launched🔥 Bitget announced #Catizen token $CATI launch in pre-market trading. Users can trade CATI in advance, before it becomes available for spot trading. Details are as follows: Start time: 24 July, 2024, 10:00 (UTC) Pre-market trading link: CATI/USDT 24h total (USDT): 143.88K Last price (USDT): 0.99 (+98%) 🚀 Register now and trade your CATI!😼

Hashtags

Airdrop Gold : Crypto Airdrop

@airdropgoldchannel · Post #157564 · 13.09.2024 г., 13:06

💰#Catizen will list on #Binance Users will be able to lock their BNB and FDUSD to receive CATI Airdrops over four days, with farming starting from 2024-09-16 00:00 UTC. Binance will then list CATI at 2024-09-20 10:00 UTC and open trading with CATI/USDT, CATI/BNB, CATI/FDUSD, and CATI/TRY trading pairs. join Now: https://t.me/catizenbot/gameapp?startapp=rp_9810907 @airdropgoldchannel Share It!

🏆 Premium, NFT, Tokens

@giiveaways · Post #3112 · 13.09.2024 г., 19:41

😸Catizen is distributing $CATI! 💭September 14, 00:00 UTC - Snapshot and maintenance. 🚀September 14, 10:00 UTC - Check your $CATI and start staking. 🪙September 15, 10:00 UTC - Claim to CEXs function will be available. 🏆Prize Pool: $1 million in tokens ($BGB, $GT, $KCS, $HSK, $MX). 📣Staking Period: September 14 - 24. 👉Stake $CATI and start earning! 🔕Subscribe👉Catizen ➖➖➖➖➖➖➖➖➖➖➖ #cryptogame#catizen#crypto

💰There's still time to catch the Catizen airdrop! We remind you that within our channel there is a competition for the best miners, which makes it possible to receive additional profit for mining in our club. Since #airdrop has not yet been announced, there is still time to participate! Prizes for leaders🎉TON Events: 🏆$150 to each player in the top 3 🏆$50 to each player in the top 4-10 🏆$20 per player 11-30 🏆$5 per player 31-100 A snapshot will be taken based on the weekly leaderboard at the time of the announcement of the airdrop from #Catizen. Prizes will only be paid if our club reached top 10 clubs of the Royal League. Hurry up to visit our club before the airdrop to get your prize! Give me meow😼

TONlines – News

@tonlines · Post #7695 · 03.12.2025 г., 14:15

Catizen Announcement: Welcome to Divine Area in Catizen Game Center #Catizen#game Catizen Announcement introduces Divine Area as the latest addition to Catizen Game Center. This magical realm offers a unique talent system and limitless lineup possibilities, encouraging fair competition. Use CATI for a 30% discount in the game. Source: link @tonlines

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