Tag: #refactoring
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 7 posts
The Complete Guide to Refactoring: Changing Structure While Preserving Behaviour
This guide is about how to refactor safely, not when refactoring pays. Starting from the definition of refactoring, it walks through building a safety net with characterization tests, introducing seams into code you cann
2026-08-15 · 24 min read #리팩터링#레거시코드#테스트#refactoring#characterization-testA Practical Procedure for Moving a Codebase with AI — Stand Up the Judge First, and Measure Review Rate Instead of Lines
This post distills the procedure common to the large-scale LLM migrations published in the first half of 2026 (535,000 lines of Zig to Rust, 165,000 lines of Python to TypeScript) into an executable order of operations.
2026-07-31 · 13 min read #ai#migration#refactoring#testing#engineeringThe Economics of Refactoring: When Does It Pay Off — Calculating With Change Frequency
The Economic Benefit of Refactoring, published on martinfowler.com on July 30, 2026, refactored a 17,000-line module in 15 steps and measured input tokens for the same repeated change request dropping from 159,564 to 27,
2026-07-31 · 15 min read #refactoring#engineering#technical-debt#ai#metricsWorking with Legacy Code — How to Change Old, Scary, Untested Code Without Fear
Legacy code is code without tests, and code you are afraid to touch. And everyone inherits it eventually. The dilemma where changing safely needs tests but adding tests needs changes, characterization tests that pin curr
2026-05-14 · 29 min read #legacy-code#refactoring#characterization-tests#strangler-fig#technical-debtDesign Patterns Modern Guide 2025: GoF Patterns + Modern Patterns in TypeScript/Python/Go
Everything about design patterns! GoF 23 patterns in TypeScript/Python/Go — Creational (Factory/Builder/Singleton), Structural (Adapter/Decorator/Proxy/Facade), Behavioral (Strategy/Observer/Command/State), Modern Patter
2026-04-14 · 30 min read #design-patterns#gof#creational#structural#behavioralClean Code Principles 2025: 30 Rules for Writing Readable Code
30 practical clean code rules! Naming, function design, comments, error handling, testing, SOLID principles — learn to write readable code through Bad/Good comparisons and refactoring Before/After examples.
2026-03-24 · 27 min read #clean-code#refactoring#naming#functions#commentsComplete Guide to the Strangler Fig Pattern: Zero-downtime Migration from Monolith to Microservices
Strategy for safely migrating from monolith to microservices using the Strangler Fig pattern. Covers Anti-Corruption Layer design, traffic routing, Feature Flag integration, data synchronization, rollback strategies, and
2026-03-08 · 29 min read #architecture#strangler-fig#microservices#migration#monolith