#refactoring
The latest AI and developer news about #refactoring, with the original source and a short summary.
The latest AI and developer news about #refactoring, with the original source and a short summary.
Converted the credit service's monolithic structure into a DDD-based architecture through 435 PRs
Olive Young shared the necessity and design philosophy of a transitional architecture that introduced CDC and Kafka to a low-traffic SMS system.
Mistral has published a case study and key lessons on using AI agents to migrate 40,000 lines of Fortran 77 code from a European energy company to C++.
Analyzed an NPE incident in production and proposed design principles using Optional and domain objects to structurally prevent null errors.
Virgin Atlantic adopted OpenAI Codex, achieving 100% test coverage while cutting refactoring time from 2 weeks to 30 minutes.
LLM 0.32a0 has been released with a message- and stream-based redesign that maintains compatibility.
Claude Code with MCP code health guidance increased refactoring improvements by 2-5x.
By switching over 10 Next.js apps to parallel builds, deployment time was reduced from 14 minutes to 8 minutes.
Tree-sitter has greatly improved editing, search, and linting in the R ecosystem.
Good code should be easier to read than to write, and should be designed so that it's hard to use incorrectly.
A journey that evolved from Layered to Hexagonal, Clean Architecture, and Monorepo.
Be wary of over-applying the SLAP principle, as it can harm the readability of the main logic.
Rather than simply applying the Law of Demeter, it is important to understand the boundaries of knowledge from the perspective of information hiding and encapsulation.
Reorganizing the repo structure with FSD made code location and dependencies clear.
When defining the relationship between UI elements and state values, splitting code by UI element is more advantageous in terms of readability and stability.
Factory functions that use generic arguments undermine the flexibility and robustness of code, so parsing responsibility should be separated for each object.
Kakao My Subscription replaced its build tool from Webpack to Vite, reducing configuration files from 6 to 2 and cutting initial compilation time from an average of 3,012ms to 129ms, approximately 30 times faster.
It covers how to use AI to safely refactor code, from testing to iterative improvement.
When splitting a function apart, you should gather the logic that determines the final return value in one place rather than scattering it, to make maintenance easier.
To resolve the 'split knowledge' problem caused by a function depending on a specific data format, this proposes a refactoring approach that moves domain knowledge to the call site.
This explains how to improve code stability by consolidating related data scattered across multiple Maps or Lists into a single data class.
It explains how to give extracted functions specific, meaningful names to increase the information content of code.
OMS reduced external address refinement API calls to under 1% and fully transitioned to its own in-house refinement system.
The team established the core definition of search first, then improved it through layer separation and facet automation.