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

Резултати

Намерени 1,339 подобни публикации

Търсене: #web3

当前筛选 #web3清除筛选
TN MiniCrypto Official

@swift_airdrops · Post #5052 · 06.03.2024 г., 21:07

🎉 Free Huge Airdrop ~ Mine Daily $OGC | OGC is Creating #web3 gaming ecosystem. 🥳 Total supply: 1Billion only 🤑 Distributing 100% of tokens to The community 👉 Register here :- https://app.ogcom.xyz/invite/HVzkGq-DiqxVjD73 ➖ Register With Email ➖ Verify email & Mine daily ✅ Partnership With Dmailofficial & thenotcoin

Hashtags

Algebra DEX Engine

@cryptoalgebra · Post #2144 · 13.01.2025 г., 11:07

⚡️ Voltage Finance is now fully charged, powered by Integral! The latest Modular CLAMM tech from Algebra—Integral—is live on Fuse Network, the most business- and consumer-friendly blockchain ecosystem for mainstream #Web3 payment adoption. What’s in store? 🎨 Custom liquidity pools with v4 plugins ⚡ Concentrated liquidity for precise LP strategies 🧨 Dynamic fees that adapt to the market And so much more! Thus, another DEX joins the growing Algebra CLAMM infrastructure! 💪🏻

Hashtags

TokenPocket

@tokenpocket_channel · Post #1614 · 23.05.2025 г., 06:23

🚀 Wallet Agents are LIVE on TRON! The first protocol on TRON built using MCP tech to enable seamless AI × Wallet interactions. 🔗 Open-source 🧠 AI-ready ⭐️ Decentralized We’re building the gateway for AI-native dApps to securely connect wallets, sign transactions, and interact on-chain — starting with TRON. AI builders, let’s shape the future of #Web3 on TRON! 👉https://mcp.tp.xyz/

Hashtags

欧易OKX公告

@OKXchinese · Post #1599 · 24.10.2023 г., 13:57

📢 OKX Web3钱包管理授权工具升级! ✅ 支持11条链的全量历史授权管理 ⚠️ 默认屏蔽貔貅币授权 💼 持续保护你的资产安全, Build #Web3 查看更多:https://www.okx.com/cn/help/okx-wallet-now-support-on-full-approval-history 欢迎关注欧易OKX中文公告频道:https://t.me/OKXchinese

Hashtags

WEB3 Portal: learn Web3 and Earn! 📱 Discover an innovative approach to learning and working. WEB3Portal is the perfect start in the $TON ecosystem. The goal of the project is to simplify the world of Web3 and make it accessible to everyone. 🔋Learn-to-Earn: Complete tasks, gain valuable skills, and put them into practice immediately. 🔋Real rewards: earn $WebPoints. Compete with other users for the top spot in the leaderboard! 🔋TON tokenexchange , analytics , charts and profitable staking offers - the entire #Web3 ecosystem is now in one application. 🧐Start completing tasks and get over 10,000 WebPoints!

Hashtags

G-AGENTS AI 🤖 | News

@gametynews · Post #626 · 18.12.2024 г., 12:59

🤝Gamety x Carbon Ventures Stategic Partnership! We’re excited to announce Gamety’s partnership with CarbonVentures – a new venture fund by trycarbonio, empowering the future of #Web3 innovation. This Means: 🤔 Backing #Web3 Founders to accelerate growth 🤔 Expanding possibilities within the Gamety Ecosystem Together with Carbon Ventures, we’re taking Gamety to new heights in the Web3 space. Stay tuned – the future is here! Spread the hype! Like, RT, and drop a comment: Tweet 🕊 📎Important Links: Website | X | Chat (FULL) | Indonesian Chat | African Chat | Vietnamese Chat | CIS Chat | Discord | Announcement | YouTube | Medium | New Bot

Hashtags

GameFi

@gamefi_launches · Post #619 · 18.05.2024 г., 14:58

GameFi.org & Eragon 💡We are excited to announce a new partnership with Eragon, the ultimate development and distribution platform for Web3 Mobile Games, powered by AI solution. Backed by Aptos, and Sotatek ERAGON offers an unparalleled solution for developers, gamers, and investors. 🤝The partnership will include group gameplays, #Web3 discussions, and competitions in which both of our communities can participate. 📢With the help of Eragon, Game Hub will continue to play a leading role in the GameFi.org ecosystem in Web3 history.

Hashtags

​​😎 GM fam! How do you spend your time in the mornings? Cause we've got a deal! 🤝 Nomis is in GG22 #Web3 Infrastructure Program, and we need your morning energy ⚡️ - Share the post - Call frens for support - Donate ANY amount of $ to drive our cause! How to donate? It's a breeze: 1. Connect your wallet 2. Add Nomis to your cart 🛒 3. Choose the donation amount (even $1 is enough for us 💜) 4. Submit the payment and make your impact! The full guide, just in case SHOW YOUR LOVE 💜👇

Hashtags

DWF Labs Broadcast

@DWFLabs · Post #484 · 17.01.2024 г., 15:30

We're happy to announce the launch of our sentry nodes on XAI, the world’s first Layer 3 solution for AAA gaming 🎮 As a part of our commitment to XAI's growth and our 2024 strategy to become an active participant in the creation of a more secure and decentralised gaming ecosystem, we are launching our sentry nodes on XAI! 🚀 Looking forward to this exciting journey towards more decentralized and user-friendly #Web3 games! 💪

Hashtags

DWF Labs Broadcast

@DWFLabs · Post #457 · 22.11.2023 г., 05:54

Congratulations to the shortlisted participants of our Web3 Unleashed: Crypto Innovation Challenge with Bybit x DMCC! We're excited to be here on the Live Pitching Day where they will showcase their ground-breaking #Web3 projects 🚀 Learn more: https://hubs.li/Q029qjbH0

Hashtags

123•••100•••111112
ПредишнаСтр. 1 от 112Следваща