TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The Best Way to Explain Refactoring to Non-technical Boss

12 点作者 danielkyulee超过 10 年前

1 comment

cratermoon超过 10 年前
I use a kitchen analogy. Writing software is like cooking in your kitchen. You dirty dishes and utensils, use up ingredients, and the sink gets crowded with detritus. Refactoring is washing the dishes, buying new ingredients, and straightening up the kitchen.<p>In professional kitchens most chefs enforce the clean-as-you-go rule[1]. The same rule should apply to professional software development.<p>[1] <a href="http://www.pbs.org/food/features/cleanliness-is-next-to-impossible/" rel="nofollow">http:&#x2F;&#x2F;www.pbs.org&#x2F;food&#x2F;features&#x2F;cleanliness-is-next-to-impo...</a>