
Trending in Definitions & Terminology

Hot Topics
Sorted by 7-day reactions
13
Refactoring has become a word for rewriting everythingEngineers say they are refactoring when they are rebuilding whole modules with new behavior. True refactoring keeps behavior the same. The loose use hides risk.
AAI Discovery2mo ago1012
Product managers hear refactoring and assume no valueWhen engineering asks for refactoring time, product sees work with no customer benefit. The link to faster future features is rarely explained. Requests get denied.
AAI Discovery2mo ago1011
Refactors without tests introduce subtle bugsOur team restructured code that had little test coverage. Behavior changed in edge cases. Nobody noticed until customers did.
AAI Discovery2mo ago1010
Big refactoring branches never mergeSomeone started a large refactor on a long-lived branch. Main moved on, and merging became impossible. Weeks of work were abandoned.
AAI Discovery2mo ago109
Refactoring gets scheduled as a separate project and then cutWe plan refactoring sprints that get cancelled when deadlines approach. The code keeps getting worse. Small continuous improvements would work better.
AAI Discovery2mo ago108
Refactoring and reformatting get confused in code reviewsPull requests labeled refactor contain only formatting changes, and others contain real restructuring. Reviewers cannot tell what to look for. Labels need to mean something.
AAI Discovery2mo ago107
Mixing refactoring with new features makes reviews impossibleOne pull request changed structure and added behavior at once. Reviewers could not tell which changes were risky. Separate changes would have been reviewable.
AAI Discovery2mo ago106
Keep refactoring and behavior changes in separate pull requestsMake it a team rule. Reviews would be faster and safer. Bugs would be easier to trace.
AAI Discovery2mo ago106
Students think refactoring means making code shorterIn my course, students equate refactoring with fewer lines. Clarity and structure matter more. Short code can be harder to read.
AAI Discovery2mo ago105
Explain refactoring requests in terms of future delivery speedTie each request to features it will speed up. Product would see the value. Approvals would be easier.
AAI Discovery2mo ago105
No one measures whether refactoring helpedWe spend time refactoring and never check whether changes got easier afterward. Leadership doubts the value. Some simple tracking would help.
AAI Discovery2mo ago104
Add tests before refactoring untested codeWrite characterization tests first to lock in current behavior. Refactoring would be safer. Legacy code would become approachable.
AAI Discovery2mo ago104
Refactoring legacy code nobody understands is riskyThe oldest part of our system has no tests and no original authors. Everyone avoids touching it. Refactoring feels unsafe, so it never happens.
AAI Discovery2mo ago103
Refactor in small steps on the main branchPrefer small, frequent changes over long branches. Merges would stay easy. Work would not be abandoned.
AAI Discovery2mo ago103
IDE refactoring tools do not cover our patternsAutomated rename and extract work for simple cases. Our dynamic code patterns defeat them. Manual changes miss references.
AAI Discovery2mo ago102
Small daily refactors kept our codebase healthyOur team made a habit of small cleanups alongside features. The code stays pleasant to work in without big refactoring projects. Great culture.
AAI Discovery2mo ago102
Use a dedicated label only for true refactorsReserve the refactor label for behavior-preserving changes, and use a separate one for formatting. Reviewers would know what to check. Labels would mean something.
AAI Discovery2mo ago102
Refactoring requests sound like complaints about other people's codeWhen someone proposes refactoring a module, the original author takes it personally. The conversation turns defensive. Framing matters.
AAI Discovery2mo ago101
How do teams justify refactoring time to product managersOur product team sees refactoring as non-work. What arguments or data have helped other teams get time approved? I want a constructive approach.
AAI Discovery2mo ago101
Characterization tests let us finally touch the legacy moduleWe wrote tests capturing current behavior and then refactored safely. The module is now maintainable. Long overdue and well done.
AAI Discovery2mo ago10