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

Резултати

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

Търсене: #holdcoin

当前筛选 #holdcoin清除筛选
Holdcoin Channel

@Holdcoin_Channel · Post #360 · 01.01.2025 г., 12:17

#Holdcoin New Year Gift is Here! 🚨 Join HoldCoin and HOLD onto your New Year luck! 🏆 🤔Block Challenge: Which"crypto block"can clear the most lines? Leave your answer in the comments section of the link below, and don’t forget to include your game ID and TG username!‼️ https://x.com/holdcoingo/status/1874428330965168600?s=46 We’ll select 30 lucky players to receive 50 stars as a reward!!! ⬆️⬆️

Hashtags

Holdcoin Channel

@Holdcoin_Channel · Post #358 · 27.12.2024 г., 15:11

#Holdcoin coin Future Guidance 💎 💎 🌟The roadmap illuminates the future journey, from functional innovation to territorial expansion, leading to the grand vision of comprehensive ecological prosperity! ‼️ Let's move on together Holding = rich!🫴🫴 Season 2 airdrop is coming !🚀

Hashtags

Holdcoin Channel

@Holdcoin_Channel · Post #291 · 26.11.2024 г., 09:44

♾#HoldCoin Pre-Trade Now Live on CoinEx!🚨 CoinEx, a globally renowned digital asset trading platform, is now offering you the pre-trade opportunity for $HOLD! Seize this rare chance and become a pioneer!⚡️🌟 ⏰Start Time: November 25, 2024 ⚖️ Services: Pre-minting & Trading 🛍 Important Reminder: Make sure your wallet is ready, understand the trading details, and stay tuned to CoinEx for updates — don’t miss any important information! More Details📥 🗳 Announcement:https://t.co/9zFQUlGTwy ⛏️ Pre-mint:https://t.co/USH0CMUSeA 📲 Trade:https://t.co/N86rhANMdK Thank you for your support and trust. Take action now and join CoinEx to start the new era of #HoldCoin!🚀🚀

Hashtags

Holdcoin Channel

@Holdcoin_Channel · Post #289 · 25.11.2024 г., 09:44

💎#HOLDCOIN AIRDROP FRENZY IS COMING!🔥🔥 🎉 Dear holders, we are thrilled to announce that the $HOLD project is about to launch its pre-trading phase—an opportunity you simply can’t miss!💎 🔭 Pre-Trading Date: November 25th, officially kicking off on the Gate.io platform!💼 🐳 How to Participate: ✨ Ensure your wallet is ready. ✨ Carefully review the trading details to avoid any issues. ✨ Stay updated with Gate.io announcements for the latest information! 🏃‍♂️ Learn More: https://www.gate.io/zh/announcements/article/40993 https://www.gate.io/zh/pre-market/HOLD Let’s embrace this new chapter of #HoldCoin and work together to drive the project’s success! 👍😃

Hashtags

Holdcoin Channel

@Holdcoin_Channel · Post #252 · 26.09.2024 г., 12:54

⚡️⚡️⚡️⚡️⚡️⚡️ 👉The HoldCoin white paper is officially released, revealing the grand plans and exciting vision for HoldCoin’s future! Click the link below to dive into all the details—this is something you don’t want to miss! 💥 https://drive.google.com/file/d/1bAJfC3HWyUYooBjyfBB8fT1w8h3CTGfC/view?usp=sharing 🕯 Stay Hold-ready and seize this once-in-a-lifetime opportunity—wealth is on the horizon! 💪 #HoldCoin's journey to wealth is accelerating—keep up, and don’t miss your moment of glory! 📈📈 Additionally, The airdrop plan is about to be officially released—act fast and seize the advantage! 🚀

Hashtags

Holdcoin Channel

@Holdcoin_Channel · Post #230 · 10.09.2024 г., 06:17

⭐️Showcase Your HoldCoin Achievements⭐️ 🫡 The HoldCoin community is growing rapidly, attracting more users from around the world. 😎Now is your time to shine! Share your gold and diamond counts and show off your Hold power! Participation details: 📸 Post a screenshot of your HoldCoin game assets 🏷 Use the hashtag #HoldCoin 💬 Leave your game ID in the comments ✨ We will randomly select 50 lucky players, each winning 1,000 diamonds! 💰 Hold is victory! Become a wealth hero in HoldCoin and start your legendary journey today! 💪

Hashtags

Holdcoin Channel

@Holdcoin_Channel · Post #308 · 11.12.2024 г., 03:19

🚨#MEXC New Listing Alert! 📈 $HOLD/USDT will be listed in the Innovation Zone on 2024-12-16 13:00 (UTC). In the crypto asset management simulator game #HoldCoin, which is based on Telegram, users can HOLD assets and create a portfolio to generate coins. Details: https://www.mexc.com/support/articles/17827791520405

Holdcoin Channel

@Holdcoin_Channel · Post #261 · 09.10.2024 г., 09:03

💎#HoldCoin is taking the world by storm! 🔥 Major media outlets like Cryptoate, Cryptomanias, Geekocoin, Digital Journal, and Benzinga have all reported on HoldCoin. 💎 Does this mean some big events are just around the corner? 🐂 Keep holding #Hold! Follow our channel and X to get the latest updates on the TGE as soon as they drop! 🚀

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

Holdcoin Channel

@Holdcoin_Channel · Post #54 · 18.06.2024 г., 07:24

💎 HoldCoin - 🐟 TonFish Joint Giveaway Complete tasks to win big prizes! 🎁💵HoldCoin and Ton Fish are excited to announce an incredible giveaway. Anyone can participate, so don't miss this perfect chance to win astonishing rewards! 🗓 Timing: June 18th at 00:00 - June 22nd at 24:00 (UTC) ☄️ How to participate: - Join the HoldCoin game - Follow Ton Fish - Follow HoldCoin - Like, retweet this post (https://x.com/HoldCoinGo/status/1802965219297349981) and tag 3 friends, using hashtags #HoldCoinGo#HoldCoin#TonFish#Fish 💰Complete the above tasks to enter, and we will select 50 users to receive an airdrop of 100,000 $HOLD. 🤜Invite friends to the HoldCoin game to earn an unlimited amount of $HOLD. Join now and claim your rewards immediately! 💥 Play the game 👉@theHoldCoinBot (https://t.me/theHoldCoinBot/app)