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

Резултати

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

Търсене: #tonfest

当前筛选 #tonfest清除筛选

🔤🔤🔤🔤🔤🔤🔤2️⃣0️⃣2️⃣5️⃣ TON Fest 2025 is a 2-day immersive festival like no other. Dive into the world of #TON, take part in thrilling games, and compete for massive rewards. TON Society will be the Ecosystem Partner of this groundbreaking event! Why you can’t miss it: ⭐️ Explore $TON like never before. ⭐️ Win incredible prizes and rewards. ⭐️ Join a community shaping the future of Web3. ⭐️ Exclusive giveaways for participants. ➡️️Tickets are available now.Be there, or miss out on the event everyone will be talking about! 💎 ⭐️You will need Telegram Stars to buy a festival ticket and upgrade $MANA mining. 🚀 #TONFest#Web3

🔤🔤🔤🔤🔤🔤🔤2️⃣0️⃣2️⃣5️⃣ TON Fest 2025 is a 2-day immersive festival like no other. Dive into the world of #TON, take part in thrilling games, and compete for massive rewards. TON Society will be the Ecosystem Partner of this groundbreaking event! Why you can’t miss it: ⭐️ Explore $TON like never before. ⭐️ Win incredible prizes and rewards. ⭐️ Join a community shaping the future of Web3. ⭐️ Exclusive giveaways for participants. ➡️️Tickets are available now.Be there, or miss out on the event everyone will be talking about! 💎 ⭐️You will need Telegram Stars to buy a festival ticket and upgrade $MANA mining. 🚀 #TONFest#Web3

Holdcoin Channel

@Holdcoin_Channel · Post #219 · 03.09.2024 г., 04:42

🚀 TON Fest Season 1 heats up with HoldCoin🎉 💥Win 6 Million Diamonds & $TON 🔥The longer you “hold”, the more you are rewarded 📆Sept 3-Sept 8, 4 AM UTC 👉HoldCoin mini app Open SafePal App QuestHub to join the campaign now! 📱DL App: http://safepal.com/download 📚Learn more campaign detail #SFP#TonFest#HoldCoin

Festival season with Ton Festival and CapsGame! Our friends from ❤️CapsGame and 🔠TON Festival decided to join forces and launch a new season! A festive atmosphere, fresh activities, and, of course, a bunch of surprises — all this is already here! What's ahead? ⚫️6 Cool Chips for Your Collection ⚫️ Huge edition — 20,000 chips ⚫️ Leaderboards and festival activities right in the game! How to Earn you Tent Points 🏕 ⚫️ Completing dailies: 10 ⚫️ Mint of any chip: 50 ⚫️ Chip Madness Round Completion: 5 (no repeats) ⚫️ Upgrade your chips to Legend+ and higher — the cooler the chip, the more points! 🏅Prize fund — tickets🎫 giving cool bonuses and exclusive items await those who collect the most points at the end of the season. 🗓️The final day of the event is March 27. The store opens on March 28th — exchange tickets for cool prizes! 🫶Become a part of the main event of the year! #CapsGame#TONFest#Web3#TON

Bidask Protocol — New DEX on TONand a Giveaway💵33,000 🅱️Bidask launched in mainnet just a few days ago — before that, the exchange was in the testnet for almost three months. The team claims that their swap model is faster, cheaper and more efficient than its analogues. Practice confirms: exchanges are instantaneous, and the 10-15 sec delay is just the time it takes for the wallet to pick up the transaction. Further optimization is already on the TonCore side. 💰The seed investor is DWF Labs (market maker and validator #TON). For a young project, this is a serious resource — #DWF is building its own ecosystem and strengthening the platforms it is a part of. #Bidask — partner 🌑#TONFest. The festival will feature a raffle 💵 33,000, and you only need to complete three tasks: ✔️Make $10 swaps ✔️Provide $10 to liquidity pools ✔️Provide $20 to liquidity pools (first $10 does not count). Your $20 is locked in the pool until June 30, 2025. We recommend the $TON/$USDT pairand be sure to follow the buttons inside TON Fest — otherwise the quest will not be counted. Bidask DEX | Channel

MyTonWallet v3.7 Update & $MY Birthday 💎 Overview of new features and changes: 🔵Expanded TON DNS support: You can now renew multiple domains at once, track their expiration, and link them to your wallet directly inside MTW. 🔵Mass transfers: Send up to 255 transactions at once — including via CSV file uploads. 🔵All token actions in one place: Long-press any token to open a contextual menu with all available options. 🔵Pin NFT collections: Access your favorite collections directly from the home screen — especially handy for Telegram gifts. 🔵USDe staking now live 🎉Happy 1st Birthday to $MY! On June 2nd, it’s been exactly 1️⃣ year since the community voted to launch the $MY utility token. The team shared a yearly recap and highlighted key milestones in #MyTonWallet’s journey. 🎁 To celebrate, all users holding at least 500 $MY can enjoy zero aggregator swap fees inside #MTW from June 2 to June 9! (Blockchain fees still apply.) #MY#Update#TonFest

🌑TON Fest Extended Through May 28 — you still have time to complete quests and claim rewards from top Web3 Projects! TON Fest is an immersive virtual world built with Telegram Mini Apps. Complete tasks, join activities, and earn on-chain rewards you won’t find anywhere else. 🎟Grab your ticket to unlock access to VIP zones, premieres, challenges, and exclusive prize pools! #TON#Web3#Quest#TMA#VR#TONFest