schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
Tired of wrestling with ancient code? 🦖 AI is here to help! ✨ Learn how to modernize and refactor your legacy systems with AI tools. 🚀 Check out our latest article!
#AI #LegacyCode #Refactoring #TechNews #Programming #BuildInPublic
https://techaitoolbox.com/legacy-code-ai-modernization/
Một dự án thú vị trên GitHub về kỹ năng refactoring cho Claude. Bài viết được đăng trên Hacker News (2 điểm, 1 bình luận).
#HN #GitHub #Refactoring #AI #Kỹ_năng_lập_trình #Lập_trình_viện_đổi
I'm not posting on my own blog as much at I'd like, but I'm still writing!
I'm being featured on the @qt blog. This is the first part in a series of four articles about QtWidgets and QtQuick differences from a software architecture standpoint.
We'll talk architecture patterns, legacy code, architecture transitions.
It starts here, the other parts will follow in the coming weeks:
https://www.qt.io/blog/qtwidgets-to-qtquick-application-journey-part1
#Development #Launches
Introducing ReliCSS · An online tool for front-end archaeology https://ilo.im/16a6tu
_____
#CSS #Detection #Legacy #Hacks #Refactoring #Browsers #DesignSystems #WebDesign #WebDev #Frontend
🔍 Los code smells son señales de alerta en tu código que indican problemas de diseño. Aprende a identificarlos y eliminarlos para escribir software más limpio y mantenible. 💻✨
Lee más 👉 https://www.soloingenieria.org/ingenieria-de-software/code-smells/
#CodeSmells #IngenieríaDeSoftware #CódigoLimpio #Refactoring #DesarrolloDeSoftware #Programación #CalidadDeCódigo
El código que funciona no siempre es código de calidad. Los code smells revelan problemas invisibles que complican el mantenimiento futuro. 💡
#CodeSmells #IngenieríaDeSoftware #CódigoLimpio #Refactoring #DesarrolloDeSoftware #Programación #CalidadDeCódigo
What this 🧵 contributes is an exploration of #refactoring as a debunking technique. The discipline of refactoring is well known to programmers. Wikipedia defines it as "the process of restructuring existing source code ... without changing its external behavior."
Indeed, one main use for refactoring in programming is #debugging: we subject some code to a series of incremental transformations that we're sure won't change its behavior (so that the bug is preserved) but make the code easier to understand (so that the bug is revealed). 5/n
🚀 Cập nhật Arbor v1.4: công cụ phân tích đồ thị gọi hàm giúp trả lời “Thay đổi hàm này sẽ phá vỡ gì?”. 🎯 Giao diện GUI đơn giản, tính điểm confidence, và phân loại vai trò (Entry Point, Utility, Core Logic). Hữu ích cho dự án lớn, refactor code. 🎤 Sẵn sàng trả lời câu hỏi kỹ thuật!
#Arbor #codeanalysis #refactoring #CôngCụPhânTích #LậpTrình #SoftwareEngineering #phân_tích_mã #đồ_thị_gọi_hàm
How many shortcuts can you remember? Three? Five? More? I try to learn as many as I can and still forget some of them… What if you could unlock IntelliJ IDEA features, without having to remember shortcuts? You can still use shortcuts if you want. But you don’t have to. Command completion (..) is a…...
#codecompletion #commandcompletion #inspections #livetemplates #navigation #postfixcompletion #quickfixes #Refactoring
https://foojay.io/today/command-completion-intellij-idea/
Just a random evening thought I wanted to share.
One specific peculiarity of the software engineering discipline is the slow realization that "clever" code is sometimes a liability. I divided my rationalization in three stages.
Stage 1: You want to use every design pattern, abstraction and fancy trending framework you read about on Hacker News.
Stage 2: You realize you're the one who has to debug that mess at 3am six months from now.
Stage 3: You start optimizing for a fictional person. That person is a junior who hasn't had their first coffee yet and you want readability of code more than anything lol
Which is why I never quite believed in LOC as an impressive metric. For me, a good PR is as much about reducing 500 lines of legacy technical debt while keeping the system stable as it is about adding a new shiny feature. Anyone else feel this way?
#softwareengineering #cleancode #refactoring #programming #system #askfedi #legacy #software #technology
Just a random evening thought I wanted to share.
One specific peculiarity of the software engineering discipline is the slow realization that "clever" code is sometimes a liability. I divided my rationalization in three stages.
Stage 1: You want to use every design pattern, abstraction and fancy trending framework you read about on Hacker News.
Stage 2: You realize you're the one who has to debug that mess at 3am six months from now.
Stage 3: You start optimizing for a fictional person. That person is a junior who hasn't had their first coffee yet and you want readability of code more than anything lol
Which is why I never quite believed in LOC as an impressive metric. For me, a good PR is as much about reducing 500 lines of legacy technical debt while keeping the system stable as it is about adding a new shiny feature. Anyone else feel this way?
#softwareengineering #cleancode #refactoring #programming #system #askfedi #c #python #golang #kotlin #javascript #webdev #legacy #php #ruby #software #technology
🛠️ Khi refactor mã, khó biết gì sẽ bị ảnh hưởng cho tới khi test thất bại. Dự án Arbor (CLI nhỏ) giúp dự đoán các phần sẽ bị phá vỡ khi thay đổi hàm. Chỉ cần chạy `arbor refactor <đối tượng_rủi_ro>` để liệt kê các phụ thuộc có thể bị hỏng. Giảm rủi ro và bảo vệ tính ổn định khi refactor! #refactoring #programming #arbor #công_nghệ #phát_triển #lập_trình
Habr » 🤖 🌐
@habr@zhub.link
[Перевод] Гексагональная архитектура в Rust: отвязываем бизнес-логику от Solana
Представьте: вы строите сервис выдачи дипломов на Solana. Всё отлично, пока дело не доходит до тестов. Внезапно оказывается, что для проверки бизнес-логики нужно поднимать валидатор, искать тестовые токены и молиться на стабильность сети. Знакомая боль? В этой статье я покажу, как мы решили проблему, используя async-trait и dyn Trait. Мы превратили интеграционные тесты длиной в минуты в юнит-тесты, которые проходят за миллисекунды. Узнать решение
https://habr.com/ru/articles/983874/
#rust #solana #гексагональная_архитектура #блокчейн #unittesting #dependency_injection #axum #web3 #mocking #refactoring
Habr » 🤖 🌐
@habr@zhub.link
Январский рефакторинг: 7 дней, чтобы почистить Python веб‑проект
Январь - самое удобное время разобрать завалы в проекте. Пол‑команды ещё в отпусках, pull‑реквестов меньше, product owner'ы только вспоминают, что планировали делать в этом году - можно спокойно пройтись по коду и навести порядок. В этой статье пойдёт речь о нескольких косметических действиях, которые, с одной стороны, почти не затрагивают логику программы и не вызывают ненависти у тестировщиков, а с другой - делают код чуть приятнее и дают темы для обсуждения на бэкенд‑созвонах. Мы разложим импорты, перенесём логику из роутов в контроллеры, а из контроллеров - в репозитории и сервисы, избавимся от requirements.txt в пользу нормального менеджера зависимостей и включим mypy.
https://habr.com/ru/articles/983172/
#python #backend #refactoring #architecture #linter #mypy #litestar
Arbor: Graph-native codebase indexing via MCP for structural LLM refactors
Arbor là một lớp trí tuệ mã nguồn mở xử lý code như "Logic Forest". Sử dụng động cơ AST Rust để xây dựng đồ thị cấu trúc repo, cung cấp ngữ cảnh xác định cho LLMs như Claude và ChatGPT qua Model Context Protocol (MCP). Arbor bridge cho phép AI agents thực hiện refactors phức tạp với nhận thức đầy đủ về phân cấp và phụ thuộc dự án.
#Arbor #LLM #AI #Codebase #MCP #Rust #TreeSitter #Refactoring #AIEngineering
#Arbor #MãNgu
Khi AI hỗ trợ refactoring đổi tên hàm, nó tạo ra bất đồng trong mã nguồn: "calculateTotal" và "compute_total" cùng tồn tại trong các file khác nhau. Lý do:
- AI chỉ nhìn từng file riêng lẻ
- Ngữ cảnh hạn chế + quy tắc đặt tên không thống nhất
- Kiểm thử đơn vị không bắt được lỗi
Hậu quả: Lỗi runtime trong tích hợp CI. Giải pháp: Kiểm tra tổng thể, grep repo và CI phát hiện xung đột tên.
#LậpTrình #Refactoring #AITrongLậpTrình #PhầnMềm #MẹoLậpTrình
#Coding #AIProgramming #SoftwareEngineering
Học được gì khi refactor code cấp độ người mới bắt đầu: "nó chạy được" không đồng nghĩa với "dễ bảo trì". Tác giả chia sẻ kinh nghiệm refactor code cũ, nhận ra các vấn đề như logic phức tạp, hàm đa nhiệm, đặt tên biến kém. Refactor giúp code sạch hơn, dễ hiểu và dễ bảo trì hơn. Đúng là quan trọng, nhưng rõ ràng và khả năng bảo trì mới là kỹ năng lập trình thực sự.
#Refactoring #CodeQuality #SoftwareDevelopment #LậpTrình #CảiThiệnCode
https://www.reddit.com/r/programming/comments/1q5nwxw/what_i
Leanpub book LAUNCH 🚀 The Other Half of Coding: What they Didn't Teach You by Max Guernsey, III
Watch here: https://youtu.be/lDwuiSwaCf4
#books #leanpublishing #selfpublishing #booklaunch #management #coding #programming #OOP #TDD #softwareengineering #refactoring
Tin tức: AI giúp tái cấu trúc mã nguồn hiệu quả! 🤖 LLM phát hiện "code smells" (như hàm dài, lớp cồng kềnh) và gợi ý cải tiến như "Extract Method" với độ chính xác ~80%. Tuy nhiên, quyết định kiến trúc lớn vẫn cần con người đánh giá. ⚠️ Lưu ý: KIỂM THỬ TỰ ĐỘNG là yếu tố sống còn để đảm bảo an toàn khi tái cấu trúc. #TáiCấuTrúc #Refactoring #AI #SoftwareEngineering #Coding #CôngNghệPhầnMềm
Khi AI refactor đổi tên sai trên nhiều file:
- Tạo các biến không nhất quán (userProfile → user_profile/profileUser) dù patch trông "hợp lý"
- Gây lỗi runtime (500 Server Error), CI không phát hiện
- Nguyên nhân: AI không hiểu ngữ nghĩa mã, chỉ đoán văn bản & thiếu quản lý symbol tập trung
- Bài học: Ưu tiên công cụ refactor dựa AST/IDE, test tích hợp đầy đủ, xử lý AI-output như bản nháp
#AI #Refactoring #ProgrammingFail #SoftwareDevelopment #Coding #Vietnam #AIVietNam #LậpTrình #TáiCấuTrú
Bài viết chia sẻ kinh nghiệm tái cấu trúc kiến trúc Android: Giảm boilerplate code, tách module cơ bản & tính năng riêng biệt. Lợi ích: Chuẩn hóa code, dễ bảo trì, onboarding nhanh. Khó khăn: Xử lý dependency, tài nguyên phân tán & vấn đề Gradle. Nhấn mạnh việc duy trì tài liệu và cải tiến liên tục! #AndroidDev #MobileDevelopment #Refactoring #LapTrinhAndroid #PhatTrienUngDung #ToiUuCode
https://dev.to/dss99911/simple-android-architecture-refactoring-to-new-architecture-3gpb
"Hãy ngừng tối ưu code không bao giờ thay đổi! 😓 Ưu tiên refactoring "điểm nóng" - mã xấu NHƯNG thường xuyên chỉnh sửa, không phải code ổn định. Ví dụ: Đừng tốn tuần chỉnh module LegacyAuthenticator (0 thay đổi sau 3 năm), hãy sửa PaymentProcessor (47 lần/tháng) đang cực phức tạp!
Dùng git log để xác định hotspot, tập trung nơi chất lượng thấp + tần suất sửa cao. Mã ổn định dù xấu, hãy để ngủ yên.
#refactoring #taicautruc #cleancode #masach #python #webdev #phattrienweb #codingsmell #muicode
#Refactoring #CleanCode #SoftwareDesign #TáiCấuTrúc #CodeSạch
Giới thiệu "Parameter Object" - giải pháp tái cấu trúc giảm phức tạp tham số! 💡
Thay vì khai báo hàng loạt tham số rời rạc:
`createInvoice($customerId, $currency, $netAmount...)`
👉 Gộp thành đối tượng có ngữ cảnh như `TaxContext` hay `PricingContext`.
Lợi ích:
• Giảm lỗi thứ tự tham số
• Đóng gói logic liên quan
• Dễ mở rộng khi yêu cầu thay đổi
• Code dễ đọc & bảo trì hơn
Mẹo: Bắt đầu từ phương thức nhỏ, thêm
Leanpub book LAUNCH 🚀 The Other Half of Coding: What they Didn't Teach You by Max Guernsey, III
Watch here: https://youtu.be/lDwuiSwaCf4
#books #leanpublishing #selfpublishing #booklaunch #management #coding #programming #OOP #TDD #softwareengineering #refactoring
Habr » 🤖 🌐
@habr@zhub.link
MDUI: как отдать UI backend-разработчикам
Как сократить Time-to-Market в 7 раз и научить бэкенд-разработчиков собирать страницы за 15 минут? В этой статье я делюсь опытом внедрения Meta-Driven UI в ERP-системе. Расскажу, как я «душила» легаси с помощью Strangler Fig Pattern, внедрила FSD-архитектуру на Vue 3 и почему Render-функции оказались эффективнее обычных шаблонов.
https://habr.com/ru/articles/980684/
#vuejs #frontendразработка #MDUI #fsd #erpсистемы #refactoring
Bài viết hướng dẫn refactoring class OrderManager违反 Single Responsibility Principle (SRP) bằng Clprolf. Ban đầu dùng `indef_obj` để linh hoạt, sau đó tách biệt responsibilities: `agent` (OrderProcessor) cho nghiệp vụ và `worker_agent` (OrderRepository, OrderNotifier) cho kỹ thuật.
#Clprolf #Refactoring #SRP #Vietnam #IT #Coding #ClprolfVietnam
https://dev.to/charles_koffler_bcabc582b/refactoring-your-classes-with-clprolf-and-indefobj-3j8k
Hệ thống PHP "monolith" của chúng tôi vẫn hoạt động tốt — vậy tại sao lại thay đổi? Không có khủng hoảng, nhưng sự phụ thuộc chặt chẽ gây cản trở phát triển. Thay vì rewrite, chúng tôi chuyển đổi từ từ: giữ nguyên lõi hoạt động, tách dần giao diện, tăng tính linh hoạt. Thay đổi sớm khi hệ thống còn khỏe giúp tránh rủi ro sau này. #SoftwareArchitecture #Monolith #PHP #DevVietnamese #KiếnTrúcPhầnMềm #LậpTrình #PHP #Refactoring #TechDebt
https://dev.to/rizts/our-php-monolith-was-working-fine-so-wh