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

Търсене: #virtualassets

当前筛选 #virtualassets清除筛选
Crypto M - Crypto News

@CryptoM · Post #64785 · 09.04.2026 г., 23:37

🚀 South Korea Implements New Rules for Managing Public-Sector Virtual Assets South Korea has approved a plan to manage 78 billion won, equivalent to approximately $57.7 million, in public-sector virtual assets. According to NS3.AI, the new regulations mandate that any seized or confiscated cryptocurrency from personal wallets must be promptly transferred to an institutional cold wallet, which is not connected to the internet. Additionally, the rules stipulate that private keys and recovery phrases must be controlled by at least two individuals through a split-access arrangement. #SouthKorea#PublicSector#VirtualAssets#Cryptocurrency#Regulations#DigitalAssets#CryptoSecurity#ColdWallet#Blockchain#CryptoPolicy

Crypto M - Crypto News

@CryptoM · Post #65410 · 13.04.2026 г., 05:53

🚀 South Korea Warns of Crypto Market Abuse via APIs South Korea's Financial Supervisory Service has issued a warning to consumers regarding increasing abuse in the cryptocurrency market linked to APIs. According to NS3.AI, these application programming interfaces are responsible for approximately 30% of the nation's virtual asset trading volume. The regulator highlighted that automated trading programs are being utilized to artificially inflate transactions and manipulate market conditions. In response, a consumer advisory was released, providing examples of such misconduct to raise awareness among investors. #SouthKorea#Crypto#Cryptocurrency#API#MarketAbuse#Regulation#ConsumerProtection#AutomatedTrading#VirtualAssets#InvestorAwareness

Venture Village Wall 🦄

@venturevillagewall · Post #4192 · 19.02.2025 г., 16:00

Hong Kong Targets Global Virtual Asset Hub Hong Kong unveils new roadmap to become a global virtual asset center, focusing on staking services, attracting liquidity, and exploring derivatives trading. Further endeavors include OTC and custody licensing. For details, visit Wu Blockchain News. #HongKong#VirtualAssets#Crypto#DeFi#Liquidity#Licensing#Staking#Derivatives#OTC#Custody#Regulation#Finance#Investment#Blockchain#Web3#MarketTrends#TechUpdates#Innovation#GlobalMarkets#FutureOfFinance

Crypto M - Crypto News

@CryptoM · Post #64584 · 09.04.2026 г., 09:15

🚀 Dubai's VARA Issues Guidance on Virtual Asset Issuance Dubai's Virtual Assets Regulatory Authority (VARA) has released guidance detailing the structuring, disclosure, and distribution of virtual assets, including stablecoins and real-world asset tokens. According to NS3.AI, the document outlines three issuance pathways, specifying that Category 2 issuances must be distributed through intermediaries licensed by VARA. This guidance serves to interpret VARA's existing issuance rulebook rather than establish new laws. Ruben Bombardi, general counsel at VARA, stated that the framework aims to provide issuers with enhanced regulatory clarity and assist users in making more informed decisions. #Dubai#VARA#VirtualAssets#Stablecoins#RealWorldAssetTokens#RegulatoryGuidance#IssuancePathways#CryptoRegulation#Blockchain#DigitalAssets

Crypto M - Crypto News

@CryptoM · Post #64567 · 09.04.2026 г., 08:32

🚀 South Korea's Unclear Tax Standards for Crypto Income Raise Concerns South Korea's National Tax Service has yet to establish definitive tax guidelines for decentralized finance (DeFi), staking, lending, and other forms of cryptocurrency income ahead of the new virtual asset tax regime set to begin next January. According to NS3.AI, the agency, in a written response to lawmaker Song Eon-seog, indicated that it is currently gathering international legislative examples and expert opinions to inform its approach. The lack of clarity on taxing profits from overseas exchanges outside the 56 jurisdictions covered by the Crypto-Asset Reporting Framework could lead to issues of fairness and potential capital flight. #SouthKorea#CryptoTax#DeFi#Staking#Lending#VirtualAssets#TaxRegime#NationalTaxService#CapitalFlight#InternationalLegislation

Crypto M - Crypto News

@CryptoM · Post #65128 · 11.04.2026 г., 07:24

🚀 South Korea Considers Seizing Principal in Virtual Asset Insider Trading Cases South Korea's financial regulators are contemplating the inclusion of a clause to seize the principal in virtual asset insider trading cases in the upcoming second phase of legislation expected later this year. According to PANews, under the current Virtual Asset User Protection Act, the government can only confiscate investment principal in cases of fraudulent transactions or market manipulation. There is no legal basis for seizing the principal in insider trading cases. The Financial Supervisory Service has recently submitted this issue to the Financial Services Commission, which is currently reviewing whether to incorporate it into the second phase of the law. In the stock market, all improper trading crimes can result in the confiscation of the investment principal. #SouthKorea#VirtualAssets#InsiderTrading#FinancialRegulation#Legislation#InvestmentPrincipal#FinancialSupervisoryService#FinancialServicesCommission#MarketManipulation#UserProtection#StockMarket

Crypto M - Crypto News

@CryptoM · Post #65218 · 12.04.2026 г., 04:04

🚀 Argentina Revises Investor Qualification Rules to Include Virtual Assets Argentina's National Securities Commission (CNV) has issued Resolution No. 1125/2026, revising the definition of qualified investors to include virtual assets. According to Foresight News, the new regulation allows individuals or entities to combine virtual assets with securities investments and bank deposits to meet the threshold of 350,000 UVA (Argentinian inflation-linked units) for qualification. The revision also introduces provisions related to crowdfunding, permitting non-qualified investors to participate in specific public offerings. The investment limit for a single transaction is set at 3,000 UVA, with a cumulative cap of 10,000 UVA, and must not exceed 5% of the investor's personal assets per transaction or 10% cumulatively. #Argentina#virtualassets#qualifiedinvestors#investmentregulations#crowdfunding#publicofferings#securitiesinvestments#bankdeposits#UVA#financialregulation#investmentrules