# 任务11：再撸一遍

最后的任务很简单，那就是再做一遍这道题。

这次练习，除了希望你仍然保持和贯彻**每分钟都能通过测试**这个好习惯，还需要你多留意重构的次序。你需要辨别出明确的坏味道来开始重构，同时，你还需要培养出处理不同坏味道先后顺序的经验和感觉。一般来说，从易到难的次序既比较符合人脑的学习和认知习惯，也利于逐步培养对代码的理解和重构的信心。

## 你的任务

* 重新做一下这道题
* 记得频繁运行测试；如果测试失败，需要回滚刚刚的更改

## 思考

* 相比课程一开始，感觉自己什么地方进步了？
* 这道题有没有不同的重构次序？
* 试试看，能在多长时间内完成这个重构？


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ethan-lin.gitbook.io/refactoring/xiang-jin-mei-gui/14-task-11.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
