Refactoring at Scale: Regaining Control of Your Codebase

Lemaire, Maude



Making significant changes to large, complex codebases is a daunting task--one that's nearly impossible to do successfully unless you have the right team, tools, and mindset. If your application is in need of a substantial overhaul and you're unsure how to go about implementing those changes in a sustainable way, then this book is for you.

Software engineer Maude Lemaire walks you through the entire refactoring process from start to finish. You'll learn from her experience driving performance and refactoring efforts at Slack during a period of critical growth, including two case studies illustrating the impact these techniques can have in the real world. This book will help you achieve a newfound ability to productively introduce important changes in your codebase.

  • Understand how code degrades and why some degradation is inevitable
  • Quantify and qualify the state of your codebase before refactoring
  • Draft a well-scoped execution plan with strategic milestones
  • Win support from engineering leadership
  • Build and coordinate a team best suited for the project
  • Communicate effectively inside and outside your team
  • Adopt best practices for successfully executing the refactor



軟體工程師Maude Lemaire將帶您從頭到尾了解整個重構過程。您將從她在Slack推動性能和重構工作的經驗中學習,這是在關鍵成長期間進行的,其中包括兩個案例研究,展示了這些技術在現實世界中的影響。這本書將幫助您在程式碼庫中有能力有效地引入重要變更。

  • 了解程式碼如何退化以及為什麼某些退化是不可避免的

  • 在重構之前量化和評估程式碼庫的狀態

  • 制定一個範圍明確的執行計劃,並設定策略性里程碑

  • 贏得工程領導層的支持

  • 建立和協調最適合該項目的團隊

  • 在團隊內外有效溝通

  • 採用成功執行重構的最佳實踐


Maude Lemaire is a software engineer at Slack where she works to scale the product to support some of the world's largest organizations. She spends most of her time chasing down people making network calls in a loop, refactoring unwieldy chunks of code, consolidating redundant database schemas, and building tools for other developers. Maude cares deeply about the developer experience and has actively sought out simpler, more efficient ways to structure code in each of her roles, at all levels of the stack.

Maude obtained a BSc. in Honours Software Engineering from McGill University.


Maude Lemaire 是 Slack 的軟體工程師,她致力於擴展產品以支援全球一些最大的組織。她大部分的時間都在追蹤那些在迴圈中進行網路呼叫的人,重構笨重的程式碼塊,整合冗餘的資料庫架構,以及為其他開發人員建立工具。Maude非常關心開發者的體驗,並積極尋求在每個角色中,從堆疊的各個層面上簡化、更有效地結構化程式碼的方法。

Maude 在 McGill University 獲得了榮譽軟體工程學士學位。