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

Търсене: #wages

当前筛选 #wages清除筛选
Venezuelanalysis

@venanalysis · Post #1953 · 05.05.2025 г., 17:57

📰 NEWS | Venezuela: Maduro Gov’t Announces May Day Bonus Increase, Maintains Wage Freeze On April 30, President Maduro announced increases to non-wage bonuses for public sector workers and pensioners. Monthly income rose from $130 to $160 via the “economic war” and food bonuses, but the minimum wage remains at 130 BsD (~$1.50) and has not been updated since March 2022. A new “unified bonus” was also announced, expected to reach 5 million families via the Homeland platform. Trade unions and leftist groups criticized the continued focus on bonuses over salaries, citing labor law violations. 🗞 Full report via: https://venezuelanalysis.com/news/venezuela-maduro-govt-announces-may-day-bonus-increase-maintains-wage-freeze/ #economy#wages

Venezuelanalysis

@venanalysis · Post #2289 · 02.03.2026 г., 20:26

📰 NEWS | Venezuelan Trade Unions Stage Nationwide Demonstrations, Demand Wage Hikes Trade unions and political organizations protested outside Venezuela’s Labor Ministry in Caracas and in 14 states, calling for an increase in the minimum wage and the repeal of the Onapre and 2792 memoranda. The country’s minimum wage has been fixed at 130 Bolívares since March 2022, currently equivalent to $0.31 due to currency devaluation. Unions also challenged the government’s reliance on non-wage bonuses, arguing that the policy reduces employer obligations such as social security contributions and other labor benefits. Protesters submitted a 17-point petition to Labor Minister Eduardo Piñate and announced a new mobilization for March 12. Read our full report here 👉🏾https://venezuelanalysis.com/news/venezuelan-trade-unions-stage-nationwide-demonstrations-demand-wage-hikes/ #LaborLaw#Wages

Venezuelanalysis

@venanalysis · Post #2000 · 10.06.2025 г., 21:31

📝 INTERVIEW | Inflation, Indexation and Venezuela’s Distributive Problem: A Conversation with Tony Boza A Venezuelan economist challenges monetarist dogmas on inflation and calls for more debate on economic policies. Tony Boza, National Assembly member and longtime advocate of wage indexation, argues that Venezuela’s economic strategy sacrifices workers’ incomes to control inflation. He insists the root issue is not monetary but distributive: “If the cake has grown, why is the slice still small?” Boza also warns that U.S. sanctions have distorted Venezuela’s economic structure and should not be treated as a secondary factor. 🔗 Read the latest VA interview here: https://shorturl.at/9pZRw #Economy#Inflation#Wages

Venezuelanalysis

@venanalysis · Post #2307 · 16.03.2026 г., 22:59

📰 NEWS | Venezuelan Trade Unions Stage Protests, Spark Renewed Minimum Wage Debate Trade unions and worker organizations staged protests in Caracas and more than 25 Venezuelan cities on March 14, demanding higher wages and labor rights. In the capital, about 1,000 demonstrators marched to the National Assembly, where a commission delivered a list of 17 demands signed by over 200 unions. The demands include raising the minimum wage in line with the constitution and labor law, releasing detained trade unionists, and repealing measures that suspended collective bargaining rights. Venezuela’s minimum wage has remained at 130 bolívars since March 2022. Due to currency devaluation, the amount is now equivalent to around $0.29. Read our full report here 👉🏾https://venezuelanalysis.com/news/venezuelan-trade-unions-stage-protests-spark-renewed-minimum-wage-debate/ #LaborLaw#TradeUnions#Wages

Друзья. Рекомендуем прорывной цифровой проект tvyal. com ... 📊 Три «средних» зарплаты в Армении: реальная картина Официальная средняя номинальная зарплата — 296 161 драм Медианная зарплата — 221 873 драм Наиболее часто встречающаяся (мода) зарплата — 124 525 драм Даже в рамках одной и той же статистической базы между крайними показателями фиксируется разрыв примерно в 140%. В официальных сообщениях, как правило, ссылаются на среднюю номинальную зарплату, тогда как реальные доходы большинства граждан ближе к уровню моды. Эксперты платформы анализа данных tvyal.com представили два новых инструмента: 🧮 Перцентильный калькулятор зарплат → tvyal.com/wages В расчётах использованы данные около 797 000 зарегистрированных работников из 19 отраслей экономики по состоянию на февраль 2026 года. Инструмент позволяет оценить позицию индивидуальной зарплаты в перцентильном распределении (по отраслям), а также провести полный расчёт подоходного налога (из «грязной» в «чистую» зарплату и наоборот, включая льготную ставку 10% для ИТ-сектора). 📈 Динамика зарплат (с 2018 года по настоящее время) → tvyal.com/wages/trends Представлены номинальные и скорректированные на инфляцию показатели. Расширяющийся разрыв между средней и медианной зарплатами в динамике фактически свидетельствует о неравномерности распределения роста доходов. Все инструменты и данные доступны бесплатно на армянском, английском и русском языках. https://t.me/tvyalcom⁠� #Armenia#Economy#Wages#Statistics

Venezuelanalysis

@venanalysis · Post #2356 · 02.05.2026 г., 10:21

📰 NEWS | Venezuelan Gov’t Maintains Frozen Minimum Wage, Hikes Bonuses on May Day Venezuela’s government announced an increase in the “integral minimum income” for public sector workers to $240 per month, achieved through higher bonuses rather than a rise in the base minimum wage, which remains frozen at 130 bolívares (~$0.27). The adjustment includes a $200 monthly “economic war bonus” and a $40 food subsidy. Meanwhile, Labor Minister Carlos Castillo confirmed that discussions are ongoing with trade unions and business associations over potential labor law reforms. The measures have sparked protests from unions, which argue that bonus-based income policies weaken wages and labor rights. Read the full report here 👉https://venezuelanalysis.com/news/venezuelan-govt-maintains-frozen-minimum-wage-hikes-bonuses-on-may-day/ #LaborLaw#May1#Wages

Venezuelanalysis

@venanalysis · Post #2341 · 20.04.2026 г., 19:48

🎥 VIDEO | Chávez the Radical XXXII: ‘The Bonus-over-Wage Policy Pulverized Incomes’ The episode features a 2006 speech in which Hugo Chávez criticizes policies that replaced wages with bonuses, arguing they increased labor precarity and favored business interests. It also examines how, in recent years under US economic sanctions, Venezuela has expanded non-wage bonuses, generating debate within Chavismo and criticism from trade unions over their impact on incomes. 👉 Watch the full video here: https://venezuelanalysis.com/video/chavez-the-radical-xxxii-the-bonus-over-wage-policy-pulverized-incomes/ #Wages#ChavezTheRadical#HugoChavez#TatuyTV

Venezuelanalysis

@venanalysis · Post #2363 · 12.05.2026 г., 11:22

🗒️🗣️ INTERVIEW | Adelmo Becerra: ‘It Is Essential to Defend Labor Rights Against Regressive Reform’ In the latest VA interview, Venezuelan trade union representative Adelmo Becerra explains that the government’s May 1 measures continue recent labor policies by increasing non-wage bonuses while leaving the minimum wage unchanged. He notes that the growing use of bonuses instead of salaries weakens severance pay, social security contributions, and collective bargaining protections. “It is essential at this moment to have a united force with a specific agenda: to fight for the restoration of wages, for the reopening of collective bargaining negotiations, for the release of unjustly imprisoned workers and trade unionists, and to defend labor rights against regressive reform efforts,” Becerra states. He also warns that proposed labor reforms could reduce historic labor rights amid the ongoing economic crisis and US sanctions. Read the full interview here 👉https://shorturl.at/LjUDt #Labor#LaborLaw#Wages#workingclass

Venezuelanalysis

@venanalysis · Post #2330 · 09.04.2026 г., 20:06

📰 NEWS | Venezuela: Rodríguez Announces Labor, Pension, Tax Reforms Venezuelan Acting President Delcy Rodríguez announced a set of reforms targeting labor laws, pensions, and taxation. A new commission with representatives from government, business, workers, and pensioners will review labor conditions and social security sustainability. The government also confirmed a worker income increase scheduled for May 1, though details remain unspecified. Additional measures include drafting a new tax model, reviewing state-owned assets to determine “strategic” sectors, and maintaining state control over hydrocarbons. The announcements come amid ongoing labor protests over wages and working conditions and follow broader economic reform efforts. Learn more 👉🏾https://shorturl.at/5Cc26 #LaborLaw#Pensions#Taxes#Wages