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

Резултати

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

Търсене: #senate

当前筛选 #senate清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #4064 · 04.02.2025 г., 10:00

US Sovereign Fund Eyes Bitcoin Investment After Trump's new decree, bullish sentiments rise as Senator Lummis hints at potential government investment in $BTC that could drive significant market growth. Read more: Impact #BTC#Crypto#VC#Trump#Senate#Investment#MarketTrends#Blockchain#DigitalAssets

Reuters: World

@reutersworldchannel · Post #149197 · 11.10.2021 г., 00:30

Yellen confident Congress will raise debt ceiling U.S. Treasury Secretary Janet Yellen said that it will be lawmakers' responsibility to raise the federal debt limit and expressed confidence that Congress would do so after the temporary reprieve runs out on Dec. 3 #Debt#Senate#JanetYellen#News#Reuters 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➖

NIDO Russia (НИДО)

@nido_russia · Post #1770 · 24.08.2024 г., 15:32

Promise of more focus on Nigerian Issuestowards speedy resolution In my meeting yesterday and today with the Honorable Director, Diaspora & International Affairs, from National Assembly of Nigeria, Hon. Shadé Adepeju-Joseph, she promised to bring governmental attention to most of the plight that Nigerians face here, including unpaid student stipends/salaries and documentation. She also promised to take back home, much of the beautiful experience she got in Russia towards the betterment of bilateral ties, increased cultural exchange and trade. Sputnik Africa also interviewed us to get to the bottom of these issues and brainstorm potential solutions. Stay tuned! Yours in Service, Dr. Godwin Ibe Chairman, NIDO Russia https://t.me/nido_russia/1770 #senate#Nigeria#nationalassembly#nido

🏛️🇺🇸SENATE BANS FEDERAL RESERVE CBDC — CRYPTO WINS BIG! 🔹 Senate votes 89-10 to BLOCK Fed from issuing digital dollar through 2030 💰 🔹 Bipartisan victory for financial privacy and traditional banking system 🏦 🔹 Prevents Fed from issuing CBDC directly OR through intermediaries 🚫 🔹 Freedom Caucus wants PERMANENT ban, not just temporary restriction 🔥 🔹 Trump position unclear — may demand voter ID bill passage first 🗳️ MASSIVE win for crypto advocates who warned CBDCs = surveillance! 👀 House vote uncertain, but momentum building against digital dollar 💪 Private crypto looking STRONGER! 🚀 #USNews#CBDC#crypto#Senate#privacy @america

Venture Village Wall 🦄

@venturevillagewall · Post #3833 · 09.01.2025 г., 22:00

U.S. Senate to Form Crypto Subcommittee The U.S. Senate Banking Committee, led by Senator Tim Scott, is set to establish its first cryptocurrency subcommittee, with Cynthia Lummis tentatively selected as chair. A vote to confirm her appointment and new members is expected soon. Read more: link #Crypto#Senate#USDC#XLM#Uniswap#Ethereum#AI#VC

EdgeMarket.AI 📣

@edgemarketai · Post #7996 · 21.02.2026 г., 09:43

Will Thom Tillis drop his block on Kevin Warsh’s confirmation by February 28? ⚖️ Senate procedure, leverage points, and timing signals now in focus. 📊 Track institutional developments: 🔗edgemarket.ai #USPolitics#Senate#FederalReserve#KevinWarsh#Tillis

Libertà è ragione

@libertaeragione · Post #4118 · 12.02.2024 г., 08:37

#USA#Ucraina#Israele#Taiwan Il #Senate ha approvato, con 67 voti favorevoli e 27 contrari, la chiusura dell’accordo per la fornitura di aiuti per un ammontare pari a 95 miliardi di dollari a Ucraina, Israele e Taiwan. Anche 18 senatori repubblicani hanno votato a favore dell’accordo, mentre Bernie #Sanders (#D|Centro-sinistra) è stato l’unico dem ad opporsi alla fornitura di aiuti a tali nazioni. @OsservatorioEsteri

Crypto M - Crypto News

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

🚀 U.S. Treasury Secretary Urges Senate to Advance CLARITY Act U.S. Treasury Secretary Besant has emphasized the need for the Senate Banking Republicans to review and advance the CLARITY Act for President Donald Trump's signature. According to Odaily, the legislation has been in development for nearly five years, aiming to secure the future growth of the financial industry. #USTreasury#CLARITYAct#Senate#FinancialIndustry#USPolitics

Libertà è ragione

@libertaeragione · Post #4276 · 05.11.2024 г., 10:02

#Elezioni#USA#Presidenziali Urne aperte in #Vermont per le elezioni presidenziali, il primo Stato americano ad aprire i seggi ufficialmente per il voto nell’Election Day. Oltre ad eleggere il nuovo Presidente degli Stati Uniti si vota a livello federale per rinnovare completamente la #House ed eleggere 1/3 dei membri del #Senate. In alcuni Stati si vota per rinnovare le legislature statali, i governatori e le altre cariche esecutive oltre che votare diversi quesiti referendari. In #Oregon si vota solo via posta, quindi non vi è un voto in presenza. @OsservatorioEsteri

Crypto M - Crypto News

@CryptoM · Post #64680 · 09.04.2026 г., 13:56

🚀 Wyoming's Digital Asset Regulation Discussed in Senate Roundtable U.S. Senator Cynthia Lummis, chair of the Senate Digital Assets Banking Subcommittee, hosted a roundtable at the Wyoming State Capitol. According to Foresight News, the event included discussions with Comptroller Jonathan V. Gould and Governor Mark Gordon on the state's current digital asset regulatory landscape, the significance of a dual banking system, and how banking regulation can support responsible financial innovation. Lummis emphasized Wyoming's leadership in the digital asset sector, noting that efforts initiated nearly a decade ago in the state have laid the groundwork for current federal initiatives. She highlighted Wyoming's comprehensive digital asset regulatory framework and expressed the importance of Comptroller Gould's visit to ensure federal policies reflect effective practices. #Wyoming#DigitalAssets#Regulation#Senate#Banking#FinancialInnovation#Cryptocurrency#USPolitics

Crypto M - Crypto News

@CryptoM · Post #65086 · 10.04.2026 г., 22:56

🚀 Treasury Secretary Advocates for Clarity Act Advancement Amid Senate Review Treasury Secretary Scott Bessent has called on the Senate to expedite the passage of the Clarity Act, with Polymarket estimating a 59% probability of its approval by 2026. According to NS3.AI, the White House's Council of Economic Advisers released a report indicating that permitting stablecoin yields would minimally impact lenders' financial outcomes. The Senate Banking Committee is scheduled to evaluate the bill in the closing weeks of April. #TreasurySecretary#ClarityAct#Senate#Stablecoins#Finance#Legislation#EconomicPolicy#BankingCommittee

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