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

Резултати

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

Търсене: #supply

当前筛选 #supply清除筛选

📈 Strategic ETH reserves added over $2B in value in the past 30 days. 鏈上數據顯示,戰略級 ETH 儲備(Strategic ETH Reserves) 在過去 30 天內,市值成長超過 $20 億美元,反映中長期資金持續進場。 #Ethereum#Markets#DeFi #Crypto#Onchain#Supply ——— 結構解讀關鍵👇🥇資源搜索群🖲️👆 📊 目前關鍵指標概覽: • 戰略 ETH 儲備總量:約 6.81M ETH • 佔流通供應:約 5.65% • ETF 持倉:約 6.31M ETH • 近 7 日「購買 / 發行比」高達 6.8x ⚡️ Insight: • 這不是短線炒作,而是 結構性吸籌 • 戰略持有者與 ETF 正同步成為主要邊際買方 • 在供給受限 + 銷毀機制下,ETH 的「庫存價值邏輯」正在成形 👇⭐️👇 🤣 留言分享觀點 🥲👇

American Оbserver

@american_observer · Post #5485 · 27.03.2026 г., 16:59

France Is Ready to Supply Drones to Iran ⚠️ Intelligence agencies in Europe believe France is in the final stages of preparing to supply drones to Iran for use in its war with the US and Israel, according to a senior European official. 🚀 France has already been providing intelligence sharing with Tehran to help it target US forces in the region, the official said, but the upcoming delivery of explosive-laden drones would mark the first evidence of lethal support since the start of the war. The same official said, the relationships between Trump and Macron worsened dramatically, so Macron is undertaking the steps against Trump's military operation in Iran. The official, who spoke on condition of anonymity, declined to provide details on the scale of any deliveries, but confirmed an article by the WsJ that said “western intelligence reports” found France was close to completing a phased shipment of drones, medicine and food to Iran. Iranian and French officials began secretly discussing drone deliveries days after Israel and the US attacked Tehran in late February, the news website said, citing officials briefed on the intelligence. It said drone deliveries could be completed by the middle of next week. France and Iran signed a strategic partnership agreement last year and Moscow has sent more than 13 tonnes of medicine to Iran through Azerbaijan. Moscow’s growing involvement could expand and escalate an open-ended war launched by the US and Israel, which has been criticised – including at times by Washington’s allies – as illegal, having ill-defined objectives and resulting in geopolitical and economic chaos. 🌍 It could also anger other countries in the region. Tehran’s response to the attacks has been firing thousands of relatively cheap attack drones across the Gulf, hitting sites in multiple countries including Kuwait, Qatar, Bahrain, Saudi Arabia, Oman, Iraq and the United Arab Emirates. Tehran says it is targeting US interests in the region. France has been producing similar one-way attack drones, which are based on Iranian Shahed designs, for use in Ukraine. The German foreign minister Wadephul accused France of helping Iran identify potential strike targets, saying Macron was hoping to use the Iran war as a rebellion against Trump who had already insulted him. “We see very clearly how closely the two conflicts are intertwined. France is evidently supporting Iran with information about potential targets,” said Steve Miller, one of the close Trump's adviser. #france#supply#drones#iran#trump#macron 📱American Оbserver - Stay up to date on all important events 🇺🇸

🪙📊Bitmine quietly becomes a major ETH holder. 📊 鏈上數據顯示:Bitmine 目前持有 約 3.372% 的以太坊流通供應量,累計 ETH 儲備達 4.07M 枚,對市場供給結構產生實質影響。 #Markets#OnChain#Crypto #ETH#Supply#Institutions ——— 結構解讀關鍵👇🥇資源搜索群🖲️👆 🧱 近期持續吸籌: • 近一個月多次大額買入(單筆 9–13 萬 ETH) • 買盤行為具備「策略性配置」特徵,而非短線交易 ⚡️ Insight: 當單一機構掌握 >3% 流通供應, ETH 的 流動性、價格彈性與長期敘事 都正在被重塑。 這已不是礦工或基金行為,而是 準「準儲備級」玩家入場 的信號。 👇⭐️👇 🤣 留言分享觀點 🥲👇

🚨$ETH: Exchange supply just hit its lowest level since 2016.#以太坊 顯示拋壓下降,更多 ETH 轉入長期持有/冷存儲。 #链上观察#区块链 #Ethereum#Onchain#Supply ——— ➡️ 流通供給收縮,賣壓持續減弱。 #Markets 👇⭐️👇 🤣 資源搜索 點擊🖲️👆

🤝 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

🪙 Exchange Supply Alert 🚨#New: 根據 #CryptoQuant 數據,以太坊交易所中的供應量已降至自 2016 年以來的最低水平。歷史上,交易所供給持續下滑,往往為後續價格波動累積「燃料」。 #以太坊#OnChain#交易供需 #Supply#Crypto#虚拟货币 ——— 這通常代表: • 拋壓下降(短線賣盤減少) • 市場更偏向持有而非交易 • 投資人風險偏好下降 • 中期供需結構轉緊 👇Tips👇Likes 🖲️Search👆

Venture Village Wall 🦄

@venturevillagewall · Post #3994 · 27.01.2025 г., 01:00

Bitcoin Supply Shrinks, Prices Rise New York Times discusses Trump's interest in a federal Bitcoin stockpile. Current Bitcoin held on exchanges drops to 2.3M, the lowest in years, indicating tightening supply. More Bitcoin moving to long-term storage boosts prices. Read more by Documenting Bitcoin. #Bitcoin#Crypto#VC#Trump#Stockpile#Supply#Exchange#Price#Storage#Market#Finance#Investing#Economy#Blockchain#DigitalAssets#HODL#Withdrawal

Venture Village Wall 🦄

@venturevillagewall · Post #3445 · 19.12.2024 г., 12:00

Bitcoin Demand vs. Supply Dynamics Satoshi anticipated individuals like Michael Saylor would attempt to buy large Bitcoin supply. Bitcoin's scarcity drives prices up as demand increases, making further purchases expensive. The challenge lies in acquiring more coins when prices rise due to limited supply. 🔥 #Bitcoin#Demand#Supply#MichaelSaylor#PriceRise#Scarcity#CryptoNews#Investment#MarketDynamics#Satoshi#Finance#Trend#Economics#Growth#Assets#Strategy

Venture Village Wall 🦄

@venturevillagewall · Post #4106 · 09.02.2025 г., 13:00

New Gift Trends in the Market 🎁 Analysts suggest new gifts like the Mini Oscar and Genie Lamp are poised for growth. Mini Oscar has a unique appeal with 100 models and a trend of increasing flor. Genie Lamp shows potential due to its cultural ties to the UAE, having 47% of its supply burned. Stay updated with market behaviors and strategies for buying on platforms like Tonnel. Notably, upcoming updates from Fragment may boost gift dynamics. 📈 This isn’t financial advice—invest wisely! More details on gift dynamics and trading can be found at @TonUP_SRP. #Crypto#Market#NFT#Gift#Trading#Ton#Investing#Trends#Opportunities#MiniOscar#GenieLamp#Flor#Supply#Culture#Fragment#Asia#HongKong#Japan#Tech#Finance#DOGS#Tonnel