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 подобни публикации

Търсене: #tonstakers

当前筛选 #tonstakers清除筛选
TONlines – News

@tonlines · Post #6784 · 15.04.2025 г., 16:34

⚡️Tonstakers: Exciting Rewards for Stakers in New Campaign #Tonstakers#EVAA#StormTrade Tonstakers, in collaboration with EVAA and Storm Trade, has launched a new campaign offering substantial rewards for participating stakers. Participants can earn EVAA XP for providing and borrowing tokens on EVAA, alongside Storm RP for trading on Storm Trade. Additionally, staking rewards can reach up to 20% APY through the use of Vault on Storm Trade. Source: link @tonlines

😇EVAA: results of the private sale and a joint company with Tonkeeper 💸 Recently EVAA Protocol completed a private sale, raising $2.5m. The investors included TON Ventures, Baring Vostok, Polymorphic, Animoca Brands, CMT Digital, Mythos Ventures, Wagmi Ventures and other investors. You can read more in the article from The Block. 💰 Interestingly, the website and the post indicate that Baring Vostok is among the main investors. The head of this fund is an american buisnesman who invests in irl businesses in Russia and the CIS countries. In the early stages, the fund invested in Yandex, Tinkoff (T-Bank), Ozon, Kaspi and many other companies that have now turned into successful businesses. At the same time, the fund was not connected with the world of crypto, but in 😇 EVAA Protocol noticed great potential. 👛 Now there is a campaign from Tonkeeper, where #EVAA, #Tonstakers and #Getgems are participating. The tasks are pretty simple: 🟡Top up battery in the Tonkeeper. 🟡Stake more than 3 TON in Tonstakers. 🟡Put at least $20 in the main Evaa pool and dont withdraw them until February 4. 🟡Mint the Getgems domain and hold it in wallet. 🟨There is a chance to get bonus rewards from the pool of $15,000 and 1,000,000 EVAA XP in addition, you will receive a commemorative #SBT 🤖 Also, a new bot from EVAA has recently appeared @dassets_bot✔️. With its help, you can track all EVAA pools, liquid staking, rewards from DEX exchanges and LP tokens. A very convenient bot, especially if you have several wallets and liquidity is scattered across many projects. EVAA app | News | Chat | Website

TON Space x EVAA integration ❤️ Recently the non-custodial version of the @wallet — TON Space integrated EVAA Protocol. This is the great opportunity for EVAA, considering that in Q2 Telegram the wallet plans to hit the US market. However, after the end of the TON Foundation boosts for #EVAA, the overall APR % on supply dropped significantly, so now it is more profitable to farm 😇 EVAA XP additionally using other #DeFi projects – #StormTrade and #FIVA. 🪙 The interface itself has undergone a small update. A new section has appeared — "Earn". You can clearly see how the percentage changes after each Supply/Borrow loop through #Tonstakers (looping strategy). If you use $tsTON, then EVAA XP doubles after each loop. 📈 Interest rates on $USDT loans in the LP pool have been reduced. Now it will be less expensive to use the "looping" strategy through SLP. LP pool works very well with Storm. Btw 🪙Storm Trade recently partners with 👍FIVA too. ➡️Add SLP to EVAA. ➡️Borrow $TON or $USDT. ➡️Put it in Storm Trade again. ➡️Repeat. Remember the risks. 🎙 Recently, the co-founders of #VAA held two broadcasts. In one of them, CTO Vlad (@sepezho) touched on the topic of oracles and the risks of liquidations (on Ru lang). In the second podcast, CEO Vlad participated, discussing the DeFi segment on TON in general (on Ru lang too). Therefore, if you have nothing to do in your free time, you can check it out. EVAA app | Video-guide

🤝 Storm Trade x EVAA x Tonstakers: a Power Strategy for Liquidity Providers How to put your $TON to work more effectively in DeFi? Three top-tier TON protocols — #StormTrade, #EVAA, and #Tonstakers — have joined forces to introduce a layered liquidity strategy that helps you boost rewards across multiple platforms simultaneously. The core idea: use the same asset across several protocols and earn rewards in each one: 🔵 EVAA 🔵 Storm Trade 🔵 Tonstakers ⚡️Aggressive Strategy: 1️⃣ Stake your $TON with @tonstakers_bot to receive $tsTON (~4% APR). 2️⃣ Supply $tsTON in EVAA — earn 2 XP for every $1 supplied. 3️⃣ Borrow $TON on EVAA — earn 5 XP for every $1 borrowed. 4️⃣ Trade the borrowed $TON on Storm Trade — earn ✖️ twice more RP per $1 in volume. ✅Moderate Strategy: Prefer lower risk? Borrowed $TON from EVAA can be deposited into the Storm Trade TON Vault to earn up to 20% APR. You’ll still receive ✖️ RP rewards. 🗓️Campaign Dates: April 15–25, until 15:00 CET 🥇😇🐸 Rewards will be distributed after the campaign ends. #Degen#DeFi#Stake#Vault#Supply

🏆Get 6 cool SBTs from TOL participants! TBook is an modular incentive layer backed by TON Foundation. Now you have a chance to get 6 cool Soul-Bound Tokens from 6 top-tier projects participants of the 💎 TON Open League! Engage with the projects in staking, borrowing, lending, and trading to earn SBTs and claim the 🙏TON Society airdrop. Don't forget to check your rating! 🚀 🤩Go get your SBTs now! #SBT#NFT#TheOpenLeague#EVAA#DeDust#Tonstakers#bemo#STONfi#TOL#StormTrade

SettleTon and Portfel Collaboration 🔥SettleTon has recently partnered with #TorchFinance, this time by adding a new project to the list – #Portfel. 💼 Portfel's goal is to become the main application for tracking our assets: all tokens, staking on multiple #DEX, provided liquidity, rewards, and using all the necessary #DeFi applications. The team shared their immediate plans and roadmap: 🟡#NFTs and their valuation 🟡Support for multiple addresses 🟡Staking platforms - #Tonstakers and #jVault 🟡Vaults by Storm.tg 🟡Token swaps via the best Dex Aggregator 🟡Token details page 🪅DeFiLlama also included#SettleTon on their platform, adding transparency and value for users. SettleTON | GitBook | Chat EN | X