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

Резултати

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

Търсене: #liquidity

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

@tonlines · Post #7216 · 14.05.2025 г., 15:12

bemo Explains Liquidity Pools in DeFi #DeFi#liquidity bemo provides a detailed guide on liquidity pools, covering essential concepts and strategies to overcome confusion regarding terms like 'impermanent loss.' A must-read for anyone involved in DeFi. Source: link @tonlines

🇺🇿 Oliy maktab Professori Tolqin Boboqulov "Kompaniyaning likvidligi va tolov qobiliyati" mavzusida so‘zlab berdi. 📊 Kompaniyaning likvidligi bu uning majburiyatlarini o‘z vaqtida bajarish qobiliyatini anglatadi. Bu majburiyatlar moliya tashkilotlari, davlat byudjetlari, tashqi banklar va boshqa kontragentlar oldidagi majburiyatlarni o‘z vaqtida va to‘liq bajarish uchun zarur bo‘lgan mablag‘lar bilan ta’minlanganlikni anglatadi. Yanada batafsil videodarslikdan bilib oling! #GraduateSchool#Finance#Liquidity 🔝Web-site |🔝Facebook | 🔝Instagram | 🔝Youtube

TONlines – News

@tonlines · Post #6783 · 15.04.2025 г., 16:31

⚡️Storm Trade: Maximize Liquidity with Double Rewards #TON#DeFi#liquidity @storm_trade_news introduces a new strategy combining three major DeFi protocols on TON for increased liquidity rewards. Users can stake, borrow, and trade to earn enhanced returns, with a special bonus for liquidity providers. Activities run from April 15 to 25. Source: link @tonlines

BLC Market - mini-app BulCoin

@bulcoin_blc · Post #223 · 28.11.2025 г., 11:00

How to add liquidity to Tonco? 1. Visit the website https://app.tonco.io/ 2. Connect your TON wallet 3. Go to the Pools page (https://app.tonco.io/#/pools) 4. Find the needed pool and click on it. Pay attention to the checkbox! This will allow you to make the correct choice if you see two identical pools 5. Click Create position, adjust the range and enter the number of tokens. You can use ZAP to automatically calculate how much of each you need to buy 6. Request the transaction and sign in the wallet. Soon the position will appear on it in the form of an NFT and will be visible on the website. If it becomes marked as Out of range, this means that the price has changed and has left the position's range. #ton#dex#liquidity FAQ | BUY

BLC Market - mini-app BulCoin

@bulcoin_blc · Post #222 · 26.11.2025 г., 11:00

How to add liquidity on Bidask? 1. Go to https://bidask.finance/ 2. Connect your TON-wallet 3. Visit the Pools page (https://bidask.finance/en/app/pools) 4. Find the necessary pair, click and select the suitable CLMM or DLMM pool. DLMM differs in that the commission changes depending on trading volumes. 5. Click Add liquidity, choose the form of liquidity, set the range and indicate the amounts of tokens. 6. Request the transaction and sign in the wallet. In a few seconds, everything will be ready. The position will appear and will be available for viewing and management. #ton#dex#liquidity FAQ | BUY

BLC Market - mini-app BulCoin

@bulcoin_blc · Post #221 · 24.11.2025 г., 11:00

In the TON blockchain, there are 4 main DEX: DeDust, Ston.fi, Bidask, and Tonco. The first two operate on the AMM model, the latter - CLMM. - AMM (Automated Market Maker) - also a Uniswap V2 model. The price is determined by the formula y*x=k, where y and x are assets, and k is a constant. The provided liquidity is evenly distributed across all possible prices from 0 to infinity, which ensures the participation of the provided liquidity in maintaining price stability and collecting commissions at any prices. In short: 1. Liquidity works at any price 2. At small price changes, only a small part of the liquidity is involved, which is not very efficient. - CLMM (Concentrated Liquidity Market Maker) - also a Uniswap V3 model. Unlike AMM, there is the possibility of providing liquidity in a selected price range in which liquidity will operate. As long as the price is within it, liquidity participates. When the price goes beyond the limit, the liquidity position becomes inactive and completely transitions into the asset that has dropped relative to the other. This can be used for limit buys and sells by placing a position outside the current price. In short: 1. Liquidity can be placed in a narrow range and only works there 2. Efficiency relative to AMM increases by 50-90%, depending on the width. This way, small amounts can provide price stability and increased returns. #ton#dex#liquidity FAQ | BUY

TONlines – News

@tonlines · Post #7702 · 04.12.2025 г., 10:57

STON.fi: Impermanent Loss Protection for Liquidity Providers #protection#liquidity STON.fi has distributed 6546 STON tokens to liquidity providers in the STON/USDT pool for November, with up to 5.72% impermanent loss offset offered. Users who provided liquidity before December 1 will have protection until December 31, with a monthly budget of $10,000. Source: link @tonlines

TONlines – News

@tonlines · Post #6962 · 29.04.2025 г., 12:37

STON.fi: New Round of Impermanent Loss Protection Starts Soon #protection#liquidity STON.fi reminds liquidity providers that the new cycle of impermanent loss protection for the STON/USDT V2 pool begins on May 1st. Only those joining the pool by then will be eligible for protection. Source: link @tonlines

TONlines – News

@tonlines · Post #6752 · 14.04.2025 г., 11:40

STON.fi Update: IL Protection Sent to Liquidity Providers #protection#liquidity STON.fi has distributed 894 STON to liquidity providers in the STON/USDT v2 pool for March 1-31, offering up to 5.72% impermanent loss offset. With a monthly protection budget of $10,000 and a max offset of $100 per user, auto-crediting ensures no claiming is needed. Source: link @tonlines

BLC Market - mini-app BulCoin

@bulcoin_blc · Post #219 · 21.11.2025 г., 18:55

Why it's profitable to replenish the BulCoin pool NOW The BulCoin liquidity pool is currently small — and this is the best time to join. 🔥 Why? • Few LPs → fees are divided among fewer people. • Every USDT ⇄ BLC exchange gives a large percentage of the commission, because liquidity is low. • Tasks are already underway in the ecosystem, transfers, trading — these are constant swaps that bring income to LPs. 🚀 Early LPs are always in the plus When MAU increases (according to the model — up to 10k–100k users), the pool will become larger, and APR will drop. Those who entered earlier will lock in maximum percentages. 🌊 How to replenish? DeDust → USDT–BLC pool → deposit USDT and BLC → receive LP tokens. #pool#liquidity FAQ | BUY

TONlines – News

@tonlines · Post #7340 · 23.05.2025 г., 10:49

EVAA Protocol: Temporary Suspension of stTON in Main Pool #protocol#liquidity EVAA has temporarily suspended the use of stTON as collateral in its Main Pool due to reduced market liquidity. Existing positions remain unaffected, but users must repay active loans before withdrawing stTON. The measure is temporary and will be lifted once liquidity conditions improve. Source: link @tonlines

TONlines – News

@tonlines · Post #7145 · 09.05.2025 г., 14:39

DAOLama NFT Lending: Permanent 10% APY on Anonymous Numbers #Anonymous#liquidity DAOLama NFT Lending announces that the special 10% APY rate on liquidity against Anonymous Telegram Numbers will now be offered permanently. Users can enjoy the same favorable conditions as during the recent contest at any time. Source: link @tonlines

123•••56
ПредишнаСтр. 1 от 6Следваща