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

Резултати

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

Търсене: #qt

当前筛选 #qt清除筛选
X Empire Beyond | Crypto

@xempirecombodaily1 · Post #11022 · 24.06.2025 г., 15:40

⚡ Jerome Powell (Chairman of the Fed): ✔ There is no recession in the USA. ❗️We may see inflation turn out to be lower than expected, in which case we would consider a Fed rate cut. ✔ A weakening labor market also suggests a faster rate cut. ✔ The Fed predicts that inflation will rise due to tariffs. ✔ Most Fed members believe it would be appropriate to cut rates later this year. ✔ So far, there are no conflicts between the Fed's dual mandates (labor market and inflation). ✔ The Fed's policy will not trigger an increase in housing supply in the long term. ❗️Banks are free to provide services to the crypto industry and conduct their activities, provided they ensure safety and reliability. ✔ I'm not worried about the latest macroeconomic data, but I am concerned about how it might change. ✔ We expect inflation to rise due to tariffs, but we do not yet know the extent of its impact on consumers. Therefore, we must wait. ✔ As long as the economy remains strong, we can afford to take a short pause. ❗️We will lower the Fed rate when the time is right. ✔ I think inflation will start to rise due to tariffs beginning in June. ✔ We will monitor the situation throughout the summer. ✔ There is no need to rush. ✔ I will not name a specific month in which we might cut the Fed rate. ✔ The Fed is simply trying to act cautiously and prudently. ✔ Economic growth will slow down this year. Immigration is one of the reasons. ✔ The dollar will remain a reserve currency for a long time. ✔ The US government bond market is functioning normally. ❗️The Fed will not tighten monetary policy or adjust the rate just because of rising oil prices. We will evaluate the entire macroeconomic picture. ✔ The dollar will remain a reserve currency for a long time. ✔ The US government bond market is functioning normally. ❗️The Fed will not tighten monetary policy or adjust the rate just because of rising oil prices. We will evaluate the entire macroeconomic picture. ✔ We are approaching price stability, but we have not quite achieved it yet. ❗️ The Fed does not have the right to buy cryptocurrency on its balance sheet and we do not seek to do so. ❗️Phs will continue to reduce balance ( #QT ). ✔ Small business lending conditions are a bit strict. ✔ We expect to see the impact of Trump's tariffs on inflation this summer. ❗️If this does not happen, we will lower the rate . ✔ We are currently in watch and wait mode. ✔ Overall, the inflation picture is quite positive. J. Powell testifies before the House Financial Services Committee on Monetary Policy.

Hashtags

djangoproject

@djangoproject · Post #254 · 02.02.2017 г., 18:31

https://groups.google.com/forum/#!topic/pyside-dev/pqwzngAGLWE Dear #Pyside2 contributors, As you might know, Pyside was originally developed for Nokia while it was the owner of the #Qt technology. When Nokia sold Qt to Digia (and now The Qt Company), all the copyrights over the original Pyside code for Qt 4 got transferred to The Qt Company as well. For different reasons, it was not possible for The Qt Company to push Pyside forward as much as we would have wished over the last few years. Fortunately this changed now, and The Qt Company is today in a position, where it can and will invest into Pyside. The goal is to ensure Pyside becomes a fully supported part of the Qt product family, with a similar development and licensing model as the rest of Qt. We want to make sure Pyside works on new Qt releases when they come out and are committed to invest long term into the technology.

Hashtags

CHANNEL

@Nomad01290 · Post #4054 · 10.01.2022 г., 11:57

A clone of Media Player Classic reimplemented in Qt for Windows desktop. It aims to reproduce most of the interface and functionality of mpc-hc while using libmpv to play video instead of DirectShow. https://github.com/mpc-qt/mpc-qt #windows#media#Qt

硬核小卒

@yinghexiaozu · Post #737 · 03.01.2021 г., 13:24

1️⃣the-super-tiny-compiler:一个用 JavaScript 写的迷你编译器,源代码只有 200 多行,清晰地解释了编译器的工作过程。#编译器 2️⃣编译器的工作过程:大致讲解了编译器的工作过程。#编译器 3️⃣x86 Assembly Guide:一篇来自弗吉尼亚大学的 x86 汇编语言指南。#汇编语言 4️⃣theForger's Win32 API Programming Tutorial:深入浅出的 Windows 操作系统接口的教程,学会了 Win32 API,就可以徒手开发桌面应用了。#Windows 5️⃣Qt Documentation:一个十分强大的开发框架,可以用来编写跨平台的桌面应用,Telegram 桌面端就是使用 Qt 开发出来的。#Qt Automatically sent by Hardcore Bot v0.9.2

科技&趣闻&杂记

@kejiqu · Post #3367 · 07.05.2025 г., 08:40

Qt 将实现与任意编程语言集成,技术中立型 Qt 生态系统扩展计划发布 在 2025 年 Qt 全球峰会上,Qt Group 宣布大幅扩展 Qt 平台及生态系统,朝着技术中立型平台演进。Qt 旨在满足各类设备及行业的软件开发需求。扩展计划包括推出新的桥接技术,实现 Qt 与 Rust、Python、NET、Swift、Kotlin 和 Java 等编程语言的集成,以增强其前、后端分离能力。Qt Group 还将投资开发新工具,如 Figma to Qt 插件,以打通设计师与开发者之间的协作。Qt AI Assistant 将扩展功能,新增对 Claude 3.7、Sonnet 及 DeepSeek v3 等大语言模型的支持,旨在自动化重复性开发任务。IT之家 | Qt 🏷#Qt#平台#扩展#技术中立 📢频道👥群组📝投稿

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