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

Резултати

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

Търсене: #useconomy

当前筛选 #useconomy清除筛选

💰🇺🇸TECH WAGES HIT $178K MEDIAN AS AMERICA'S JOB MARKET SPLITS 🔹 Silicon Valley salaries surge to $178K average — up from $62K five years ago in dramatic wage explosion 📈 🔹 178,000 new positions added in March beating economists' 62,000 forecast by nearly triple margin 💼 🔹 Healthcare dominates hiring with 89,900 jobs while finance cuts 15,000 — clear sector winners emerging 🏥 🔹 Unemployment at 4.3% masks deeper issue: 322,000 more long-term jobless than year ago 📊 Two Americas emerging — tech prosperity vs persistent poverty 🤔💔 #WageGap#USEconomy ✨ More breaking stories coming soon 🚀 @america

📈US-China Trade Guardrails: Navigating Friction & Market Impact Mar-16-2026 Despite constructive talks between the US and China to establish trade 'guardrails,' friction persists with renewed Section 301 investigations. This delicate balance of managed tension rather than... 🔗Read Full Analysis 🎯 SPECIAL OFFER: 15% OFF 💸 Coupon Code: salenow15% 🚀 Upgrade to premium signals → https://markets.fxpremiere.com/en/signals?utm_source=telegram 📰 Stay ahead — get breaking financial news & analysis at https://markets.fxpremiere.com/en?utm_source=telegram #USEconomy#ChinaEconomy#TradePolicy

🚨🇺🇸 IRAN CONFLICT'S SHADOW LOOMS OVER US ECONOMY 🔹 Oil prices jump: U.S. crude up 6.3% to $71.23, Brent 6.7% to $77.74/barrel 📈 🔹 Prolonged conflict could push oil past $100, gas to $3.50/gallon across US ⛽ 🔹 Natural gas prices also rise, with Strait of Hormuz key for 20% of global supply ⚠️ 🔹 Lingering inflation concerns exacerbated; Fed's target of 2% remains elusive at 3% 📉 🔹 Business confidence at risk, potentially slowing investment & hiring; 2025 hiring weakest since 2002 💔 Americans already sour on the economy – will regional conflicts push it to the brink? 🤔 #USEconomy#Inflation#Geopolitics @america

Reuters: World

@reutersworldchannel · Post #149132 · 08.10.2021 г., 16:39

U.S. job growth slows sharply in September U.S. employment increased far less than expected in September amid a decline in government payrolls, but hiring could pick up in the months ahead as COVID-19 infections subside #News#Reuters#Unemployment#USEconomy#LabourMarket Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

🇺🇸 U.S. Job Growth Slows in February Amid Economic Rebalancing! 🔹 After a robust January, U.S. job growth is expected to moderate in February, with economists projecting 60,000 new jobs—a significant slowdown from the start of the year 📉. 🔹 The unemployment rate is anticipated to hold steady at 4.3%, reflecting a more sustainable pace of hiring after 2025 saw the weakest payroll growth outside of a recession since 2003 📊. 🔹 January retail sales data, though impacted by severe winter weather, is forecast to show modest increases in key sectors, signaling cautious consumer spending after a period of heightened anxiety 🥶🛒. 🔹 Economists point to the late January/early February cold spell as a primary factor for the slowdown, particularly affecting weather-sensitive industries like construction and hospitality. However, the overall labor market conditions have stabilized since last fall 👷‍♀️🏨. The economy is shifting gears – are we heading for a soft landing or bumpy ride? Tell us what YOU think! 🤔 #USEconomy#JobsReport#EconomicOutlook @america

💪📈US ECONOMY DEFIES GEOPOLITICS WITH SURPRISING RESILIENCE AMID GLOBAL CHAOS 🔹 GDP growth accelerates to 2.2-2.4% in 2026 despite Middle East conflicts and energy price surges hitting global markets 🌍⛽ 🔹 S&P 500 earnings projected to grow 16% while unemployment holds steady at 4.3% — corporate America staying strong 💼📊 🔹 AI-driven business investment up 4% as productivity gains fuel recovery from government shutdown impacts last quarter 🤖💻 While other nations crumble under geopolitical pressure, America's economy keeps powering through! That's economic supremacy 🇺🇸🔥💪 #USEconomy#EconomicGrowth#AmericanResilience @america

💰🇺🇸FED PRIORITIZES INFLATION OVER JOBS AS ENERGY PRICES SURGE 🔹 March jobs report shows 178,000 payroll gains, unemployment steady at 4.3% 📊 🔹 Producer Price Index hits 3.4% core inflation, well above Fed's 2% target 📈 🔹 Iran war-driven energy costs creating stagflation risks for US economy ⛽ 🔹 Only 6.9 million job openings — lowest since April 2020 pandemic lows 📉 🔹 Fed officials call inflation "orange to red" threat ahead of April 29 meeting 🚨 Cleveland Fed's Hammack warns tighter policy needed despite job market fragility 💪⚡ #USEconomy#FederalReserve#Inflation#JobsReport#Fed @america

📉🇺🇸JOBS REPORT SHOCKER: 92,000 JOBS CUT 🔹 US employers slashed 92K jobs last month vs +50K gain expected by Wall Street 😱 🔹 Worst miss in years; unemployment ticks up to 4.3% as manufacturing sector bleeds 📈 🔹 GOP lawmakers suddenly silent as midterms loom; fears of economic sinkhole spreading 🤐 🔹 Chuck Schumer attacks: "Republicans are going to get wiped out" due to failed policies 🗣️ 🔹 Retail & factory sectors leading the losses; "Trump Boom" narratives taking a massive hit 🏭 Republicans are panicking behind closed doors. Is the economy crashing right before voting day? 🤔 #Economy#JobsReport#Recession#Midterms#Politics#USEconomy

Crypto M - Crypto News

@CryptoM · Post #64637 · 09.04.2026 г., 12:15

🚀 U.S. Economic Growth Projected to Remain Strong Despite War The White House National Economic Council Director, Kevin Hassett, has stated that the U.S. economy is expected to maintain a growth rate of 4% to 5% this year, despite ongoing conflicts. According to Odaily, this optimistic outlook comes amid challenging global circumstances. #USEconomy#EconomicGrowth#USMacro#GlobalConflict#EconomicOutlook

🚨📉BREAKING NEWS: 92,000 AMERICAN JOBS DISAPPEARED IN FEBRUARY 🔹 Catastrophic Jobs Report: The US economy shockingly lost 92,000 jobs last month, defying Wall Street's prediction of a +50k gain. An absolute disaster for the administration. 📉😱 🔹 Unemployment Surges: The jobless rate has officially ticked up to 4.3%, with the manufacturing and retail sectors bleeding the most positions across the nation. 🏭🇺🇸 This isn't just a blip. This is a five-alarm fire for the ruling party. Can they spin this before November? Doubtful. 🤔💸 #Economy#JobsReport#Recession#Midterms#Politics#USEconomy#Breaking

Crypto M - Crypto News

@CryptoM · Post #65014 · 10.04.2026 г., 14:02

🚀 U.S. Inflation Rate Expectations for April Show Slight Increase The initial estimate for the U.S. inflation rate expectations over a five to ten-year period in April was reported at 3.4%, according to Jin10. This figure slightly missed the anticipated rate of 3.5% but showed an increase from the previous value of 3.20%. The data reflects ongoing concerns about inflationary pressures in the U.S. economy. #USInflation#InflationExpectations#Economy#USEconomy#InflationRate#Jin10

Crypto M - Crypto News

@CryptoM · Post #64657 · 09.04.2026 г., 12:47

🚀 U.S. Consumer Spending Shows Minimal Growth Amid Inflation Concerns U.S. consumer spending in February showed little growth, according to data from the U.S. Department of Commerce. This comes amid ongoing inflation concerns, which are expected to worsen due to the conflict involving Iran. According to Jin10, inflation-adjusted consumer spending increased by 0.1% compared to January. The core Personal Consumption Expenditures (PCE) index, excluding food and energy, rose by 0.4% from the previous month. The annual rate of the core PCE price index, favored by the Federal Reserve, recorded a 3.0% increase. #ConsumerSpending#InflationConcerns#USEconomy#PCEIndex#IranConflict#FederalReserve#EconomicGrowth

ПредишнаСтр. 1 от 3Следваща